From 379fee93166e2740f09dd5c7e4479a6a1947f842 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Tue, 23 Sep 2008 07:08:46 +0000 Subject: 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. --- src/engine/SCons/cpp.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/SCons/cpp.py b/src/engine/SCons/cpp.py index 6ca5f9a..8c75287 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 -- cgit v0.12