1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Index: llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/llvm/utils/lit/lit/ProgressBar.py
===================================================================
--- llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7.orig/llvm/utils/lit/lit/ProgressBar.py
+++ llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/llvm/utils/lit/lit/ProgressBar.py
@@ -203,15 +203,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
|