many, many trivial check-code fixups stable
authorMatt Mackall <mpm@selenic.com>
Mon, 25 Jan 2010 00:05:27 -0600
branchstable
changeset 680 f10a5301d082
parent 679 f4cb54ed71b1
child 681 d0a410e49776
many, many trivial check-code fixups [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Tue Feb 16 21:04:04 2010 +0100
+++ b/tests/run-tests.py	Mon Jan 25 00:05:27 2010 -0600
@@ -231,7 +231,7 @@
             if last:
                 lines.append(last)
             return lines
-        lines.append(text[i:n+1])
+        lines.append(text[i:n + 1])
         i = n + 1
 
 def parsehghaveoutput(lines):
@@ -660,7 +660,8 @@
     jobs = [[] for j in xrange(options.jobs)]
     while tests:
         for job in jobs:
-            if not tests: break
+            if not tests:
+                break
             job.append(tests.pop())
     fps = {}
     for j, job in enumerate(jobs):