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

Side by Side Diff: appengine/swarming/swarming_bot/bot_code/bot_main.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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 Swarming 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 by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # 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.
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 702
703 error = None 703 error = None
704 if len(args) != 0: 704 if len(args) != 0:
705 error = 'Unexpected arguments: %s' % args 705 error = 'Unexpected arguments: %s' % args
706 try: 706 try:
707 return run_bot(error) 707 return run_bot(error)
708 finally: 708 finally:
709 call_hook(bot.Bot(None, None, None, None, os.path.dirname(THIS_FILE), None), 709 call_hook(bot.Bot(None, None, None, None, os.path.dirname(THIS_FILE), None),
710 'on_bot_shutdown') 710 'on_bot_shutdown')
711 logging.info('main() returning') 711 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