summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-10-09 04:47:13 (GMT)
committerSteven Knight <knight@baldmt.com>2005-10-09 04:47:13 (GMT)
commit435130568f78858e4d122c2ff2d1de7eb25feb80 (patch)
tree8f39aa9594bbeecb09e57a6b121e7fade567b147 /test
parent5ab67031831fd47ce778e0270fa460453ff9fd4f (diff)
downloadSCons-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')
-rw-r--r--test/Actions/actions.py2
-rw-r--r--test/Repository/LIBPATH.py8
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