summaryrefslogtreecommitdiffstats
path: root/QMTest/TestSCons.py
diff options
context:
space:
mode:
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r--QMTest/TestSCons.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index e6e0c8c..86c0dec 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -231,11 +231,7 @@ class TestSCons(TestCommon):
is not necessary.
"""
self.orig_cwd = os.getcwd()
- self.external = 0
- try:
- self.external = os.environ.get('SCONS_EXTERNAL_TEST', 0)
- except KeyError:
- pass
+ self.external = os.environ.get('SCONS_EXTERNAL_TEST', 0)
if not self.external:
try: