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

Side by Side Diff: git_freezer.py

Issue 212293002: Fix bad interpreters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | git_new_branch.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/local/bin/python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import sys 6 import sys
7 import optparse 7 import optparse
8 8
9 import subcommand 9 import subcommand
10 10
11 from git_common import freeze, thaw 11 from git_common import freeze, thaw
(...skipping 12 matching lines...) Expand all
24 24
25 def main(): 25 def main():
26 dispatcher = subcommand.CommandDispatcher(__name__) 26 dispatcher = subcommand.CommandDispatcher(__name__)
27 ret = dispatcher.execute(optparse.OptionParser(), sys.argv[1:]) 27 ret = dispatcher.execute(optparse.OptionParser(), sys.argv[1:])
28 if ret: 28 if ret:
29 print ret 29 print ret
30 30
31 31
32 if __name__ == '__main__': 32 if __name__ == '__main__':
33 main() 33 main()
OLDNEW
« no previous file with comments | « no previous file | git_new_branch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698