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

Side by Side Diff: appengine/swarming/swarming_bot/bot_code/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
OLDNEW
1 # Copyright 2013 The LUCI Authors. All rights reserved. 1 # Copyright 2013 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 """Swarming bot main process. 5 """Swarming bot main process.
6 6
7 This is the program that communicates with the Swarming server, ensures the code 7 This is the program that communicates with the Swarming server, ensures the code
8 is always up to date and executes a child process to run tasks and upload 8 is always up to date and executes a child process to run tasks and upload
9 results back. 9 results back.
10 10
11 It manages self-update and rebooting the host in case of problems. 11 It manages self-update and rebooting the host in case of problems.
12 12
13 Set the environment variable SWARMING_LOAD_TEST=1 to disable the use of 13 Set the environment variable SWARMING_LOAD_TEST=1 to disable the use of
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 737
738 error = None 738 error = None
739 if len(args) != 0: 739 if len(args) != 0:
740 error = 'Unexpected arguments: %s' % args 740 error = 'Unexpected arguments: %s' % args
741 try: 741 try:
742 return run_bot(error) 742 return run_bot(error)
743 finally: 743 finally:
744 call_hook(bot.Bot(None, None, None, os.path.dirname(THIS_FILE), None), 744 call_hook(bot.Bot(None, None, None, os.path.dirname(THIS_FILE), None),
745 'on_bot_shutdown') 745 'on_bot_shutdown')
746 logging.info('main() returning') 746 logging.info('main() returning')
OLDNEW
« no previous file with comments | « appengine/swarming/swarming_bot/api/test_env_api.py ('k') | appengine/swarming/swarming_bot/bot_code/bot_main_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698