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