Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / util / units.py @ fde2c1f7

History | View | Annotate | Download (4 kB)

# Date Author Comment
44f510e1 05/22/2013 06:51 pm Giorgos Korfiatis

astakos: Support units in resource-related commands

Add library synnefo.util.units for parsing numerical values
with an optional unit suffix and printing integer values based
on a given style.

Styles `b', `kb', `mb', etc allow printing in the respective multiples...