[yum-commits] Branch 'yum-3_2_X' - output.py

Ville Skyttä scop at osuosl.org
Tue Jan 19 18:47:32 UTC 2010


 output.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4528999d10fd03e2fbc3667759f818c07cefdb73
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jan 19 20:43:00 2010 +0200

    Make sizes without trailing k, M etc symbols line up with others.

diff --git a/output.py b/output.py
index 17ce582..15a34a5 100755
--- a/output.py
+++ b/output.py
@@ -763,7 +763,7 @@ class YumOutput:
 
     def format_number(self, number, SI=0, space=' '):
         """Turn numbers into human-readable metric-like numbers"""
-        symbols = ['',  # (none)
+        symbols = [ ' ', # (none)
                     'k', # kilo
                     'M', # mega
                     'G', # giga


More information about the Yum-commits mailing list