It's hard to immediately parse the "bytes" size values in compose-changelog's reports. We could use the humanize module's naturalsize() method to pretty-print the kilobytes/megabytes, etc.
naturalsize()
from humanize import naturalsize
This module is already packaged in Fedora.
We already have an implementation of a function that formats size into a human readable format, it's just not applied on all sizes (only in the header). Easy fix: #52.
Metadata Update from @lsedlar: - Issue assigned to lsedlar
Doh, of course! Thanks.
Metadata Update from @lsedlar: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.