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

Side by Side Diff: appengine/swarming/swarming_bot/config/bootstrap.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 2014 The Swarming 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 by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Bootstraps a swarming bot to connect host_url. 'host_url = "foo"' is 5 # Bootstraps a swarming bot to connect host_url. 'host_url = "foo"' is
6 # added on top of this file by the HTTP handler that serves this file. This file 6 # added on top of this file by the HTTP handler that serves this file. This file
7 # must be concise since it is executed directly at the CLI. 7 # must be concise since it is executed directly at the CLI.
8 # pylint: disable=E0602 8 # pylint: disable=E0602
9 import os, urllib, sys 9 import os, urllib, sys
10 urllib.urlretrieve('%s/bot_code' % host_url, 'swarming_bot.zip') 10 urllib.urlretrieve('%s/bot_code' % host_url, 'swarming_bot.zip')
11 os.execv(sys.executable, [sys.executable, 'swarming_bot.zip']) 11 os.execv(sys.executable, [sys.executable, 'swarming_bot.zip'])
OLDNEW
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/xsrf_client_test.py ('k') | appengine/swarming/swarming_bot/config/bot_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698