[master] Three patches for the size module

Vratislav Podzimek vpodzime at redhat.com
Wed Apr 16 18:48:54 UTC 2014


These three patches should improve UX when using Size instances. I'd like to add
one more that would remove the 'places' argument of the humanReadable method
because it seems to me useless. Then I'll add tests for the Size class which may
result in some more tweaks/fixes.

Vratislav Podzimek (3):
  Round sizes in humanReadable instead of flooring them
  Make humanReadable size use binary prefixes and nicer units
  Make sure that using just k/m/g/... results in ki/mi/gi/...

 blivet/size.py | 123 +++++++++++++++++++++++++++++++--------------------------
 1 file changed, 66 insertions(+), 57 deletions(-)

-- 
1.9.0



More information about the anaconda-patches mailing list