From bf5934ca1b80930d8fd2f19ef12e32092b34fa4d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 28 May 2012 14:16:44 +0200 Subject: tdb/wscript: Remove unecessary semicolons. --- lib/tdb/wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/tdb/wscript b/lib/tdb/wscript index d475204d0b..e28e43acac 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -167,7 +167,7 @@ def build(bld): def testonly(ctx): '''run tdb testsuite''' import Utils, samba_utils, shutil - ecode = 0; + ecode = 0 test_prefix = "%s/st" % (Utils.g_module.blddir) shutil.rmtree(test_prefix, ignore_errors=True) @@ -192,15 +192,15 @@ def testonly(ctx): if ret != 0: print("%s failed:" % f) samba_utils.RUN_COMMAND("cat " + os.path.join(testdir, 'test-output')) - ecode = ret; - break; + ecode = ret + break if ecode == 0: cmd = os.path.join(Utils.g_module.blddir, 'tdbtorture') ret = samba_utils.RUN_COMMAND(cmd) print("testsuite returned %d" % ret) if ret != 0: - ecode = ret; + ecode = ret sys.exit(ecode) # WAF doesn't build the unit tests for this, maybe because they don't link with tdb? -- cgit