From 838568f28659a2efe5ff1b69dd9f77cc952d5f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Tue, 19 Jun 2012 10:08:33 +0000 Subject: [PATCH] Minor Boost Build test system Python code cleanup - removed unnecessary trailing semicolons. [SVN r79003] --- test/BoostBuild.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/BoostBuild.py b/test/BoostBuild.py index db76c6953..3a50438d1 100644 --- a/test/BoostBuild.py +++ b/test/BoostBuild.py @@ -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: