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: watchlists.py

Issue 6791018: Add a warning if the current version of python is not 2.5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Updated to work seamlessly with python 2.5 Created 9 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 | Annotate | Revision Log
« no previous file with comments | « trychange.py ('k') | no next file » | 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/python 1 #!/usr/bin/env python
2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 """Watchlists 6 """Watchlists
7 7
8 Watchlists is a mechanism that allow a developer (a "watcher") to watch over 8 Watchlists is a mechanism that allow a developer (a "watcher") to watch over
9 portions of code that he is interested in. A "watcher" will be cc-ed to 9 portions of code that he is interested in. A "watcher" will be cc-ed to
10 changes that modify that portion of code, thereby giving him an opportunity 10 changes that modify that portion of code, thereby giving him an opportunity
11 to make comments on codereview.chromium.org even before the change is 11 to make comments on codereview.chromium.org even before the change is
12 committed. 12 committed.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 print "Usage (from the base of repo):" 122 print "Usage (from the base of repo):"
123 print " %s [file-1] [file-2] ...." % argv[0] 123 print " %s [file-1] [file-2] ...." % argv[0]
124 return 1 124 return 1
125 wl = Watchlists(os.getcwd()) 125 wl = Watchlists(os.getcwd())
126 watchers = wl.GetWatchersForPaths(argv[1:]) 126 watchers = wl.GetWatchersForPaths(argv[1:])
127 print watchers 127 print watchers
128 128
129 129
130 if __name__ == '__main__': 130 if __name__ == '__main__':
131 main(sys.argv) 131 main(sys.argv)
OLDNEW
« no previous file with comments | « trychange.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698