test-keep-alive
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 14 Sep 2018 07:24:02 +0000 (08:24 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Fri, 14 Sep 2018 07:24:02 +0000 (08:24 +0100)
===================================================================

Gbp-Pq: Name test-keep-alive.diff

utils/lit/lit/ProgressBar.py

index 3ad704d16c9204bd352e908c176f36d1dc1a21a7..d4e8f9ff6d7cb47f9dcdb17e4e08802553c84de7 100644 (file)
@@ -189,15 +189,7 @@ class SimpleProgressBar:
             return
 
         for i in range(self.atIndex, next):
-            idx = i % 5
-            if idx == 0:
-                sys.stdout.write('%-2d' % (i*2))
-            elif idx == 1:
-                pass # Skip second char
-            elif idx < 4:
-                sys.stdout.write('.')
-            else:
-                sys.stdout.write(' ')
+            sys.stdout.write('%-2d ' % (i*2))
         sys.stdout.flush()
         self.atIndex = next