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

Side by Side Diff: appengine/swarming/tools/start_bot.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/tools/run_coverage.py ('k') | appengine/swarming/tools/start_servers.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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The LUCI Authors. All rights reserved. 2 # Copyright 2015 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 """Starts a local bot to connect to a local server.""" 6 """Starts a local bot to connect to a local server."""
7 7
8 import glob 8 import glob
9 import os 9 import os
10 import signal 10 import signal
11 import socket 11 import socket
12 import sys 12 import sys
13 import tempfile 13 import tempfile
14 import urllib 14 import urllib
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 bot.dump_log() 133 bot.dump_log()
134 except KeyboardInterrupt: 134 except KeyboardInterrupt:
135 print >> sys.stderr, '<Ctrl-C> received; stopping bot' 135 print >> sys.stderr, '<Ctrl-C> received; stopping bot'
136 finally: 136 finally:
137 exit_code = bot.stop(False) 137 exit_code = bot.stop(False)
138 return exit_code 138 return exit_code
139 139
140 140
141 if __name__ == '__main__': 141 if __name__ == '__main__':
142 sys.exit(main()) 142 sys.exit(main())
OLDNEW
« no previous file with comments | « appengine/swarming/tools/run_coverage.py ('k') | appengine/swarming/tools/start_servers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698