diff options
Diffstat (limited to 'QMTest/TestCmd.py')
-rw-r--r-- | QMTest/TestCmd.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index 109c83a..370101b 100644 --- a/QMTest/TestCmd.py +++ b/QMTest/TestCmd.py @@ -1251,12 +1251,12 @@ class TestCmd(object): if srcdir and self.fixture_dirs and not os.path.isabs(srcdir): for dir in self.fixture_dirs: - spath = os.path.join(self.fixture_dirs, srcdir) + spath = os.path.join(dir, srcdir) if os.path.isdir(spath): - continue - + break else: spath = srcdir + if dstdir: dstdir = self.canonicalize(dstdir) else: @@ -1295,9 +1295,9 @@ class TestCmd(object): spath = srcfile else: for dir in self.fixture_dirs: - spath = os.path.join(self.fixture_dirs, srcfile) + spath = os.path.join(dir, srcfile) if os.path.isfile(spath): - continue + break if not dstfile: if srctail: |