Commit c222c813 by Michael DeHaan

Merge pull request #3548 from arsatiki/patch-1

Fix pretty_bytes for exa- and zettabytes
parents 1fec79ab b12cc909
...@@ -927,8 +927,8 @@ class AnsibleModule(object): ...@@ -927,8 +927,8 @@ class AnsibleModule(object):
def pretty_bytes(self,size): def pretty_bytes(self,size):
ranges = ( ranges = (
(1<<50L, 'ZB'), (1<<70L, 'ZB'),
(1<<50L, 'EB'), (1<<60L, 'EB'),
(1<<50L, 'PB'), (1<<50L, 'PB'),
(1<<40L, 'TB'), (1<<40L, 'TB'),
(1<<30L, 'GB'), (1<<30L, 'GB'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment