diff options
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r-- | QMTest/TestSCons.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index a4e9c86..561dcda 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -24,12 +24,10 @@ import sys import time try: - x = True + True except NameError: - True = not 0 - False = not 1 -else: - del x + exec('True = not 0') + exec('False = not 1') from TestCommon import * from TestCommon import __all__ |