summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/format_size.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/format_size.py b/pym/_emerge/format_size.py
index ff1aeb23f..b0d39db33 100644
--- a/pym/_emerge/format_size.py
+++ b/pym/_emerge/format_size.py
@@ -15,7 +15,7 @@ def format_size(mysize):
# Always round up to the next kB so that it doesn't show 0 kB when
# some small file still needs to be fetched.
mysize += 1024 - mysize % 1024
- mystr=str(mysize/1024)
+ mystr=str(mysize//1024)
mycount=len(mystr)
while (mycount > 3):
mycount-=3