2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons.

[SVN r79003]
This commit is contained in:
Jurko Gospodnetić
2012-06-19 10:08:33 +00:00
parent 283e2bf18e
commit 838568f286

View File

@@ -75,7 +75,7 @@ def annotation(name, value):
def get_toolset():
toolset = None;
toolset = None
for arg in sys.argv[1:]:
if not arg.startswith('-'):
toolset = arg
@@ -244,7 +244,7 @@ class Tester(TestCmd.TestCmd):
elif os.uname()[0] == 'Linux':
cpu = os.uname()[4]
if re.match("i.86", cpu):
jam_build_dir = "bin.linuxx86";
jam_build_dir = "bin.linuxx86"
else:
jam_build_dir = "bin.linux" + os.uname()[4]
elif os.uname()[0] == 'SunOS':
@@ -367,7 +367,7 @@ class Tester(TestCmd.TestCmd):
pass
os.rename(old, new)
self.touch(new);
self.touch(new)
def copy(self, src, dst):
self.wait_for_time_change_since_last_build()
@@ -593,7 +593,7 @@ class Tester(TestCmd.TestCmd):
if os.path.isdir(path):
shutil.rmtree(path, ignore_errors=False)
elif os.path.exists(path):
raise "Path " + path + " already exists and is not a directory";
raise "Path " + path + " already exists and is not a directory"
shutil.copytree(self.workdir, path)
print "The failed command was:"
print ' '.join(self.last_program_invocation)
@@ -905,7 +905,7 @@ class List:
s = string.replace(s, "\ ", '\001')
elements = string.split(s)
else:
elements = s;
elements = s
self.l = []
for e in elements: