xolox/python-humanfriendly — pull request #2 by korylprince (2014-06-26 15:56:53+00:00)
Title: Added support for 'B' bytes unit to parse_size

This library couldn't parse something like `14B` or `0B`, so I added support and tests to do so.

In particular, the `ls` command on OS X emits sizes like `0B` instead of the Linuxy `ls` which outputs just 0. Your library is great for parsing outputs like that and this fixes that corner case.

Thanks!