From: bdbaddog Date: Sun, 6 Sep 2009 02:24:38 +0000 (+0000) Subject: Bump minimum version of python for 1.3 to 2.4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abf236ab7e3dadd80dc44c46425f234886163368;p=scons.git Bump minimum version of python for 1.3 to 2.4 git-svn-id: http://scons.tigris.org/svn/scons/trunk@4346 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index 21fdc249..d2f672a5 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -431,7 +431,7 @@ def python_version_unsupported(version=sys.version_info): return version < (1, 5, 2) def python_version_deprecated(version=sys.version_info): - return version < (2, 2, 0) + return version < (2, 4, 0) # Global variables @@ -959,7 +959,7 @@ def _main(parser): # warning about deprecated Python versions--delayed until here # in case they disabled the warning in the SConscript files. if python_version_deprecated(): - msg = "Support for pre-2.2 Python (%s) is deprecated.\n" + \ + msg = "Support for pre-2.4 Python (%s) is deprecated.\n" + \ " If this will cause hardship, contact dev@scons.tigris.org." SCons.Warnings.warn(SCons.Warnings.PythonVersionWarning, msg % python_version_string())