diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-03-31 06:02:09 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-03-31 06:02:09 (GMT) |
commit | da4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6 (patch) | |
tree | 61aa054a5a696ada592f593840f396747b818842 | |
parent | d14681bd973e00da5c61f31645823f17db9591c8 (diff) | |
download | SCons-da4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6.zip SCons-da4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6.tar.gz SCons-da4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6.tar.bz2 |
A bit of a blind checkin, but there's no need to put the compatibility names
in the __builtin__ namespace, as this program only imports standard Python
modules, which shouldn't need any such names.
-rw-r--r-- | src/script/scons-time.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/script/scons-time.py b/src/script/scons-time.py index 6c43e29..fa04d37 100644 --- a/src/script/scons-time.py +++ b/src/script/scons-time.py @@ -49,15 +49,13 @@ try: False except NameError: # Pre-2.2 Python has no False keyword. - import __builtin__ - __builtin__.False = not 1 + False = not 1 try: True except NameError: # Pre-2.2 Python has no True keyword. - import __builtin__ - __builtin__.True = not 0 + True = not 0 try: sorted @@ -83,7 +81,6 @@ except NameError: if reverse: result.reverse() return result - __builtin__.sorted = sorted def make_temp_file(**kw): try: |