From 1fea3bfcaf2ee4cbb7498426bac6b83e6c4bc1d9 Mon Sep 17 00:00:00 2001 From: dirkbaechle Date: Sat, 4 Aug 2012 01:07:27 +0200 Subject: - fixed where_is for standard mode --- QMTest/TestSCons.py | 4 ++-- 1 file 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: -- cgit v0.12