diff options
author | dirkbaechle <devnull@localhost> | 2012-08-03 23:07:27 (GMT) |
---|---|---|
committer | dirkbaechle <devnull@localhost> | 2012-08-03 23:07:27 (GMT) |
commit | 1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9 (patch) | |
tree | a6abb0caba3ab1cf17a4c24a6adc249634e74026 /QMTest/TestSCons.py | |
parent | 7356cfca325dbd31d7817d374b70158dc76f9a35 (diff) | |
download | SCons-1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9.zip SCons-1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9.tar.gz SCons-1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9.tar.bz2 |
- fixed where_is for standard mode
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r-- | QMTest/TestSCons.py | 4 |
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: |