From bbced37d240bf642fa6f038da788f9ffbc35d2b5 Mon Sep 17 00:00:00 2001 From: bdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1> Date: Fri, 11 Sep 2009 17:20:00 +0000 Subject: [PATCH] Fix test logic to handle warning messages on deprecated python version (changed from 2.2 to 2.4) git-svn-id: http://scons.tigris.org/svn/scons/trunk@4355 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- QMTest/TestSCons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index 26faee51..89fe5a64 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -176,11 +176,11 @@ def unsupported_python_version(version=sys.version_info): return version < (1, 5, 2) def deprecated_python_version(version=sys.version_info): - return version < (2, 2, 0) + return version < (2, 4, 0) if deprecated_python_version(): msg = r""" -scons: warning: Support for pre-2.2 Python (%s) is deprecated. +scons: warning: Support for pre-2.4 Python (%s) is deprecated. If this will cause hardship, contact dev@scons.tigris.org. """ -- 2.26.2