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

Side by Side Diff: site_scons/site_tools/replicate.py

Issue 12450015: **/*.py: use /usr/bin/env to find python Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Created 7 years, 9 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 | « site_scons/site_tools/publish.py ('k') | site_scons/site_tools/target_debug.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/python2.4 1 #!/usr/bin/env python
2 # Copyright 2009, Google Inc. 2 # Copyright 2009, Google Inc.
3 # All rights reserved. 3 # All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above 11 # * Redistributions in binary form must reproduce the above
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 # Return list of destination nodes 117 # Return list of destination nodes
118 return dest_nodes 118 return dest_nodes
119 119
120 120
121 def generate(env): 121 def generate(env):
122 # NOTE: SCons requires the use of this name, which fails gpylint. 122 # NOTE: SCons requires the use of this name, which fails gpylint.
123 """SCons entry point for this tool.""" 123 """SCons entry point for this tool."""
124 124
125 env.AddMethod(Replicate) 125 env.AddMethod(Replicate)
OLDNEW
« no previous file with comments | « site_scons/site_tools/publish.py ('k') | site_scons/site_tools/target_debug.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698