From: stevenknight Date: Tue, 23 Sep 2008 07:08:46 +0000 (+0000) Subject: Python 1.5 compatibility: explicity import SCons.compat (again) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=270f6b0614dd4b7d79b92c3d5c7434a92d742423;p=scons.git Python 1.5 compatibility: explicity import SCons.compat (again) so the zip() function is available so the unit tests can pass when run on older Python versions. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3463 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/cpp.py b/src/engine/SCons/cpp.py index 6ca5f9a9..8c75287d 100644 --- a/src/engine/SCons/cpp.py +++ b/src/engine/SCons/cpp.py @@ -27,6 +27,11 @@ __doc__ = """ SCons C Pre-Processor module """ +# TODO(1.5): remove this import +# This module doesn't use anything from SCons by name, but we import SCons +# here to pull in zip() from the SCons.compat layer for early Pythons. +import SCons + import os import re import string