diff options
author | Steven Knight <knight@baldmt.com> | 2005-10-09 04:47:13 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-10-09 04:47:13 (GMT) |
commit | 435130568f78858e4d122c2ff2d1de7eb25feb80 (patch) | |
tree | 8f39aa9594bbeecb09e57a6b121e7fade567b147 /test/Repository | |
parent | 5ab67031831fd47ce778e0270fa460453ff9fd4f (diff) | |
download | SCons-435130568f78858e4d122c2ff2d1de7eb25feb80.zip SCons-435130568f78858e4d122c2ff2d1de7eb25feb80.tar.gz SCons-435130568f78858e4d122c2ff2d1de7eb25feb80.tar.bz2 |
Get rid of the last tabs in the source files and have the TestSCons infrastructure use the python -tt option when executing SCons to make sure they do not recur.
Diffstat (limited to 'test/Repository')
-rw-r--r-- | test/Repository/LIBPATH.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |