From da4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6 Mon Sep 17 00:00:00 2001 From: Greg Noel Date: Wed, 31 Mar 2010 06:02:09 +0000 Subject: 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. --- src/script/scons-time.py | 7 ++----- 1 file 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: -- cgit v0.12