summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-17 19:54:40 +0000
committerMatt Wilson <msw@redhat.com>2000-07-17 19:54:40 +0000
commit315d28452630de867e350131c78e925fd7fdbc54 (patch)
tree8939c675efd95f615f68fb6442397ea6be3b311a /todo.py
parent3da8e3ff92ee5dd457aa0f2aac0c9f3d047a2a29 (diff)
downloadanaconda-315d28452630de867e350131c78e925fd7fdbc54.tar.gz
anaconda-315d28452630de867e350131c78e925fd7fdbc54.tar.xz
anaconda-315d28452630de867e350131c78e925fd7fdbc54.zip
fix integer overflow
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index 1211dc600..760882698 100644
--- a/todo.py
+++ b/todo.py
@@ -1447,7 +1447,7 @@ class ToDo:
for p in l:
ts.add(p.h, p.h, how)
total = total + 1
- totalSize = totalSize + p['size']
+ totalSize = totalSize + (p['size'] / 1024 / 1024)
ts.order()