summaryrefslogtreecommitdiffstats
path: root/partRequests.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-12 18:28:43 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-12 18:28:43 +0000
commit24adedd7c46d8b226948b5512a00030cb086e6e2 (patch)
tree052f66b48b1f1c777a0ff0590d608dcd744bf412 /partRequests.py
parentd885caae52379badb205abf046ec5fdca6faf3b9 (diff)
downloadanaconda-24adedd7c46d8b226948b5512a00030cb086e6e2.tar.gz
anaconda-24adedd7c46d8b226948b5512a00030cb086e6e2.tar.xz
anaconda-24adedd7c46d8b226948b5512a00030cb086e6e2.zip
size could be zero I guess...
Diffstat (limited to 'partRequests.py')
-rw-r--r--partRequests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partRequests.py b/partRequests.py
index bd8f78439..323aab8ff 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -736,7 +736,7 @@ class LogicalVolumeRequestSpec(RequestSpec):
else:
fsname = "None"
- if self.size:
+ if self.size is not None:
size = self.size
else:
size = "%s%%" %(self.percent,)