summaryrefslogtreecommitdiffstats
path: root/partitions.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-07-12 18:46:20 +0000
committerJeremy Katz <katzj@redhat.com>2004-07-12 18:46:20 +0000
commit5f8d54266faa93f6f787ebe1277be2b1838c006e (patch)
tree05ddc78cc9caa66c4063cb1b523b9fb91092bac2 /partitions.py
parent9b219b545a648abb2bfd56b2570e9acd192d92d7 (diff)
downloadanaconda-5f8d54266faa93f6f787ebe1277be2b1838c006e.tar.gz
anaconda-5f8d54266faa93f6f787ebe1277be2b1838c006e.tar.xz
anaconda-5f8d54266faa93f6f787ebe1277be2b1838c006e.zip
fix size reporting (#127535)
Diffstat (limited to 'partitions.py')
-rw-r--r--partitions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitions.py b/partitions.py
index 6f168a3bf..a5d1d2741 100644
--- a/partitions.py
+++ b/partitions.py
@@ -196,7 +196,7 @@ class Partitions:
# FIXME: need to find the pe size of the vg
pesize = 4096
try:
- preexist_size = float(size) / 1024.0
+ preexist_size = float(size) / (1024.0 * 1024.0)
except:
log("preexisting size for %s not a valid integer, ignoring" %(vg,))
preexist_size = None