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

Side by Side Diff: client/tests/trace_inputs/child1.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/threading_utils_test.py ('k') | client/tests/trace_inputs/child2.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 2012 The Swarming Authors. All rights reserved. 2 # Copyright 2012 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 os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 9
10 10
11 def child(): 11 def child():
12 """When the gyp argument is not specified, the command is started from 12 """When the gyp argument is not specified, the command is started from
13 --root-dir directory. 13 --root-dir directory.
14 """ 14 """
(...skipping 26 matching lines...) Expand all
41 def main(): 41 def main():
42 if sys.argv[1] == '--child': 42 if sys.argv[1] == '--child':
43 return child() 43 return child()
44 if sys.argv[1] == '--child-gyp': 44 if sys.argv[1] == '--child-gyp':
45 return child_gyp() 45 return child_gyp()
46 return 1 46 return 1
47 47
48 48
49 if __name__ == '__main__': 49 if __name__ == '__main__':
50 sys.exit(main()) 50 sys.exit(main())
OLDNEW
« no previous file with comments | « client/tests/threading_utils_test.py ('k') | client/tests/trace_inputs/child2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698