mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-11-04 07:14:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			867 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			867 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/utils/lit/lit/ProgressBar.py
 | 
						|
===================================================================
 | 
						|
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/utils/lit/lit/ProgressBar.py
 | 
						|
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/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
 | 
						|
 
 |