Merge pull request #3548 from arsatiki/patch-1

Fix pretty_bytes for exa- and zettabytes
This commit is contained in:
Michael DeHaan 2013-07-16 06:42:28 -07:00
commit c222c8133b

View file

@ -927,8 +927,8 @@ class AnsibleModule(object):
def pretty_bytes(self,size):
ranges = (
(1<<50L, 'ZB'),
(1<<50L, 'EB'),
(1<<70L, 'ZB'),
(1<<60L, 'EB'),
(1<<50L, 'PB'),
(1<<40L, 'TB'),
(1<<30L, 'GB'),