From: gregnoel Date: Wed, 31 Mar 2010 06:02:09 +0000 (+0000) Subject: A bit of a blind checkin, but there's no need to put the compatibility names X-Git-Url: http://git.tremily.us/?p=scons.git;a=commitdiff_plain;h=0619ea8ef3e2ab758f74ea08c3cbcaafb6cdc4fd 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. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4746 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/script/scons-time.py b/src/script/scons-time.py index 6c43e29d..fa04d372 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: