From c5bdf539527faccd83be5661392abac28b5e9969 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 20 Feb 2003 07:11:16 +0000 Subject: size of preexisting volume groups was off by 1024 (#84481) --- partitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitions.py') diff --git a/partitions.py b/partitions.py index 42610fcb4..3cb23c54f 100644 --- a/partitions.py +++ b/partitions.py @@ -209,7 +209,7 @@ class Partitions: elif fields[0].strip() == "size": preexist_size = fields[1].strip() try: - preexist_size = int(preexist_size) + preexist_size = int(preexist_size) / 1024.0 except: log("preexisting size for %s not a valid integer, ignoring" %(vg,)) preexist_size = None -- cgit