diff options
| author | Steven Knight <knight@baldmt.com> | 2008-09-23 07:08:46 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2008-09-23 07:08:46 (GMT) |
| commit | 379fee93166e2740f09dd5c7e4479a6a1947f842 (patch) | |
| tree | 0ce18fa757be59affc8b17256eda5103d8c4e2b4 /src/engine/SCons/cpp.py | |
| parent | e1937dc42e264f533f3c9f80e3c895c90d348e4e (diff) | |
| download | SCons-379fee93166e2740f09dd5c7e4479a6a1947f842.zip SCons-379fee93166e2740f09dd5c7e4479a6a1947f842.tar.gz SCons-379fee93166e2740f09dd5c7e4479a6a1947f842.tar.bz2 | |
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.
Diffstat (limited to 'src/engine/SCons/cpp.py')
| -rw-r--r-- | src/engine/SCons/cpp.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
