From 6d8f598312bd1e231243d2692488f43050cea117 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Mon, 19 Jan 2009 19:33:13 +0000 Subject: [PATCH] Fixed a bug when SCons.__version__ == "0.97.0d20071203" --- admin/scons/LumieraEnvironment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/scons/LumieraEnvironment.py b/admin/scons/LumieraEnvironment.py index 2d8f1bb01..d8aeed54e 100644 --- a/admin/scons/LumieraEnvironment.py +++ b/admin/scons/LumieraEnvironment.py @@ -88,7 +88,7 @@ class LumieraEnvironment(Environment): #### temporary pre 1.0 SCons compatibility hack #### -_ver = map(int, SCons.__version__.split('.')) +_ver = map(int, SCons.__version__.split('.')[:2]) _old = (_ver[0]<1 and _ver[1]<98) if _old: ConfigBase = SCons.SConf.SConf