projects
/
llvm-toolchain-6.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c03042
)
test-keep-alive
author
LLVM Packaging Team
<pkg-llvm-team@lists.alioth.debian.org>
Sat, 9 Mar 2019 06:10:15 +0000
(06:10 +0000)
committer
Mo Zhou
<cdluminate@gmail.com>
Sat, 9 Mar 2019 06:10:15 +0000
(06:10 +0000)
===================================================================
Gbp-Pq: Name test-keep-alive.diff
utils/lit/lit/ProgressBar.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/ProgressBar.py
b/utils/lit/lit/ProgressBar.py
index 3ad704d16c9204bd352e908c176f36d1dc1a21a7..d4e8f9ff6d7cb47f9dcdb17e4e08802553c84de7 100644
(file)
--- a/
utils/lit/lit/ProgressBar.py
+++ b/
utils/lit/lit/ProgressBar.py
@@
-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