From c2f06635ede5796953cb1470f9fe6af5983ddc2c Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 30 Mar 2009 12:19:36 +0000 Subject: [PATCH] pisi should be ready --- pisi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/util.py b/pisi/util.py index 04869744..8314f9f4 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -103,7 +103,7 @@ def remove_prefix(a,b): return b[len(a):] def human_readable_size(size = 0): - symbols, depth = [' B', 'KB', 'MB', 'GB'], 0 + symbols, depth = [' B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], 0 while size > 1000 and depth < 3: size = float(size / 1024)