Comment and correctness nit for Bug 601207, f=sgautherie, a=Callek for CLOSED TREE
authorJustin Wood <Callek@gmail.com>
Fri, 01 Oct 2010 22:20:59 -0400
changeset 6470 51fbb624b47a91db0a9c1f4f99932561e8322b56
parent 6469 fe00d3436cdeb8c1868a69411490568b0ed615f3
child 6471 7a7aa0052f042cb2034800915c27da0afeb5dc81
push idunknown
push userunknown
push dateunknown
reviewersCallek
bugs601207
Comment and correctness nit for Bug 601207, f=sgautherie, a=Callek for CLOSED TREE
client.py
--- a/client.py
+++ b/client.py
@@ -1,10 +1,13 @@
 #!/usr/bin/env python
 
+# Warning, this file must be compatible with Python 2.4, for our
+# various tools, such as http://mxr.mozilla.org/ see-also: Bug 601207
+
 # Repo Defaults
 # 'REV' controls the default rev for All the various repo's
 # Define x_REV to override. Where x can be one of:
 #  "COMM", "MOZILLA", "CHATZILLA", "INSPECTOR" or "VENKMAN"
 DEFAULTS = {
   # Global Default Revision
   'REV': "default",
 
@@ -56,17 +59,17 @@ SWITCH_MOZILLA_REPO_REPLACE = '%s://hg.m
 SWITCH_MOZILLA_BASE_REV = "GECKO_1_9_1_BASE"
 
 import sys
 # Test Python Version. 2.4 required for `import subprocess`
 pyver = sys.version_info
 if pyver[0] <= 1 or (pyver[0] == 2 and pyver[1] < 4):
   sys.exit("ERROR: Python 2.4 or newer required")
 elif pyver[0] >= 3:
-  sys.exit("ERROR: Python series 3 is not supported, use series 2 > 2.4")
+  sys.exit("ERROR: Python series 3 is not supported, use series 2 >= 2.4")
 del pyver
 
 import os
 import datetime
 from optparse import OptionParser, OptionValueError
 
 topsrcdir = os.path.dirname(__file__)
 if topsrcdir == '':