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

Unified Diff: gcl.py

Issue 5110009: Add an alert for python < 2.5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 10 years, 1 month 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 c0d6685e4ba7edd1f0cb6a71de29755d9c43b3fb..7e54a240d6267f7a4fe073472f8d1ca586159dd3 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1351,6 +1351,9 @@ def CMDhelp(args):
def main(argv):
+ if sys.hexversion < 0x02050000:
+ print >> sys.stderr, (
+ '\nYour python version is unsupported, please upgrade.\n')
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