summaryrefslogtreecommitdiffstats
path: root/src/script/scons-time.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-03-31 06:02:09 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-03-31 06:02:09 (GMT)
commitda4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6 (patch)
tree61aa054a5a696ada592f593840f396747b818842 /src/script/scons-time.py
parentd14681bd973e00da5c61f31645823f17db9591c8 (diff)
downloadSCons-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.
Diffstat (limited to 'src/script/scons-time.py')
-rw-r--r--src/script/scons-time.py7
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: