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

Side by Side Diff: client/tests/on_error_test.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
« no previous file with comments | « client/tests/net_utils.py ('k') | client/tests/run_isolated_smoke_test.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 2014 The Swarming Authors. All rights reserved. 2 # Copyright 2014 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 that 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # can be found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import BaseHTTPServer 6 import BaseHTTPServer
7 import atexit 7 import atexit
8 import cgi 8 import cgi
9 import getpass 9 import getpass
10 import json 10 import json
11 import logging 11 import logging
12 import os 12 import os
13 import platform 13 import platform
14 import re 14 import re
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 os.environ.pop(on_error._DISABLE_ENVVAR, None) 411 os.environ.pop(on_error._DISABLE_ENVVAR, None)
412 412
413 if len(sys.argv) == 4 and sys.argv[1] == 'run_shell_out': 413 if len(sys.argv) == 4 and sys.argv[1] == 'run_shell_out':
414 sys.exit(run_shell_out(sys.argv[2], sys.argv[3])) 414 sys.exit(run_shell_out(sys.argv[2], sys.argv[3]))
415 415
416 if '-v' in sys.argv: 416 if '-v' in sys.argv:
417 unittest.TestCase.maxDiff = None 417 unittest.TestCase.maxDiff = None
418 logging.basicConfig( 418 logging.basicConfig(
419 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR) 419 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR)
420 unittest.main() 420 unittest.main()
OLDNEW
« no previous file with comments | « client/tests/net_utils.py ('k') | client/tests/run_isolated_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698