summaryrefslogtreecommitdiffstats
path: root/QMTest
diff options
context:
space:
mode:
authordirkbaechle <devnull@localhost>2012-08-03 23:07:27 (GMT)
committerdirkbaechle <devnull@localhost>2012-08-03 23:07:27 (GMT)
commit1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9 (patch)
treea6abb0caba3ab1cf17a4c24a6adc249634e74026 /QMTest
parent7356cfca325dbd31d7817d374b70158dc76f9a35 (diff)
downloadSCons-1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9.zip
SCons-1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9.tar.gz
SCons-1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9.tar.bz2
- fixed where_is for standard mode
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestSCons.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index cd3836d..e6e0c8c 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -351,9 +351,9 @@ class TestSCons(TestCommon):
"""
if path is None:
path = os.environ['PATH']
- if isinstance(prog, str):
- prog = [prog]
if self.external:
+ if isinstance(prog, str):
+ prog = [prog]
import stat
paths = path.split(os.pathsep)
for p in prog: