diff options
Diffstat (limited to 'src/script/scons-time.py')
-rw-r--r-- | src/script/scons-time.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/script/scons-time.py b/src/script/scons-time.py index d85dc8e..5f3d515 100644 --- a/src/script/scons-time.py +++ b/src/script/scons-time.py @@ -45,16 +45,11 @@ import tempfile import time try: - False + True, False except NameError: - # Pre-2.2 Python has no False keyword. - False = not 1 - -try: - True -except NameError: - # Pre-2.2 Python has no True keyword. - True = not 0 + # Pre-2.2 Python has no True or False keyword. + exec('True = not 0') + exec('False = not 1') try: sorted |