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

Unified Diff: gclient.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 | « gcl.py ('k') | git_cl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index 041dc369073d1bfe8e4dcce8c35319e8dc8711c7..81124b299c4a4cf1bdaa1714c531f90b0bd4f567 100644
--- a/gclient.py
+++ b/gclient.py
@@ -49,7 +49,7 @@ Hooks
]
"""
-__version__ = "0.6.3"
+__version__ = "0.6.4"
import copy
import logging
@@ -1498,9 +1498,11 @@ def Parser():
def Main(argv):
"""Doesn't parse the arguments here, just find the right subcommand to
execute."""
- 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
colorama.init()
try:
# Make stdout auto-flush so buildbot doesn't kill us during lengthy
« no previous file with comments | « gcl.py ('k') | git_cl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698