Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1331)

Side by Side Diff: appengine/swarming/swarming_bot/__main__.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/swarming/static/default.css ('k') | appengine/swarming/swarming_bot/api/bot.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The LUCI Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """Runs either task_runner.py, bot_main.py or bot_config.py. 5 """Runs either task_runner.py, bot_main.py or bot_config.py.
6 6
7 The imports are done late so if an ImportError occurs, it is localized to this 7 The imports are done late so if an ImportError occurs, it is localized to this
8 command only. 8 command only.
9 """ 9 """
10 10
11 import code 11 import code
12 import json 12 import json
13 import logging 13 import logging
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 with zipfile.ZipFile(THIS_FILE, 'r') as f: 231 with zipfile.ZipFile(THIS_FILE, 'r') as f:
232 logging.error('Files in %s:\n%s', THIS_FILE, f.namelist()) 232 logging.error('Files in %s:\n%s', THIS_FILE, f.namelist())
233 return 1 233 return 1
234 234
235 print >> sys.stderr, 'Unknown command %s' % cmd 235 print >> sys.stderr, 'Unknown command %s' % cmd
236 return 1 236 return 1
237 237
238 238
239 if __name__ == '__main__': 239 if __name__ == '__main__':
240 sys.exit(main()) 240 sys.exit(main())
OLDNEW
« no previous file with comments | « appengine/swarming/static/default.css ('k') | appengine/swarming/swarming_bot/api/bot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698