diff options
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: |