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

Unified Diff: gcl.py

Issue 9178027: Enforce python 2.6 or later. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gclient.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index 86dc43917e354f38813d5fe127690a179dc48890..78880048942065b27ca4ded829d732f60f700b5b 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1418,9 +1418,11 @@ def CMDhelp(args):
def main(argv):
- if sys.hexversion < 0x02050000:
+ if sys.hexversion < 0x02060000:
print >> sys.stderr, (
- '\nYour python version is unsupported, please upgrade.\n')
+ '\nYour python version %s is unsupported, please upgrade.\n' %
+ sys.version.split(' ', 1)[0])
+ return 2
if not argv:
argv = ['help']
command = Command(argv[0])
« no previous file with comments | « no previous file | gclient.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698