diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Actions/actions.py | 2 | ||||
-rw-r--r-- | test/Repository/LIBPATH.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/Actions/actions.py b/test/Actions/actions.py index c805a05..7ae951a 100644 --- a/test/Actions/actions.py +++ b/test/Actions/actions.py @@ -94,7 +94,7 @@ class bld: self.cmd = r'%s build.py %%s 4 %%s' def __call__(self, env, target, source): cmd = self.get_contents(env, target, source) - print cmd + print cmd return os.system(cmd) def get_contents(self, env, target, source): return self.cmd %% (string.join(map(str, target)), diff --git a/test/Repository/LIBPATH.py b/test/Repository/LIBPATH.py index 4b249e5..8f0a12f 100644 --- a/test/Repository/LIBPATH.py +++ b/test/Repository/LIBPATH.py @@ -50,10 +50,10 @@ def write_LIBDIRFLAGS(env, target, source): suf = env.subst('$LIBDIRSUFFIX') f = open(str(target[0]), 'wb') for arg in string.split(env.subst('$_LIBDIRFLAGS', target=target)): - if arg[:len(pre)] == pre: - arg = arg[len(pre):] - if arg[-len(suf):] == suf: - arg = arg[:-len(pre)] + if arg[:len(pre)] == pre: + arg = arg[len(pre):] + if arg[-len(suf):] == suf: + arg = arg[:-len(pre)] f.write(arg + '\n') f.close() return 0 |