test-keep-alive

===================================================================

Gbp-Pq: Name test-keep-alive.diff
This commit is contained in:
LLVM Packaging Team 2022-06-27 14:58:51 +08:00 committed by Lu zhiping
parent 3c5083ce8a
commit c90bf0b180
1 changed files with 1 additions and 9 deletions

View 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