summaryrefslogtreecommitdiffstats
path: root/partRequests.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-05-31 05:09:27 +0000
committerMike Fulbright <msf@redhat.com>2002-05-31 05:09:27 +0000
commitb5099cf1017d8d14c1caf134d1463dab1a52bbf0 (patch)
tree61d35350a5050f42a8518b64e90c3d2af3e46648 /partRequests.py
parent4833a5c0d15a915a5ac8f577cf64f05ab90531c2 (diff)
downloadanaconda-b5099cf1017d8d14c1caf134d1463dab1a52bbf0.tar.gz
anaconda-b5099cf1017d8d14c1caf134d1463dab1a52bbf0.tar.xz
anaconda-b5099cf1017d8d14c1caf134d1463dab1a52bbf0.zip
oops
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 5106c049d..36a357366 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -511,7 +511,7 @@ class RaidRequestSpec(RequestSpec):
"""Return the actual size allocated for the request in megabytes."""
# this seems like a check which should never fail...
- if not self.raidmembers or self.raidlevel:
+ if not self.raidmembers or not self.raidlevel:
return 0
nummembers = len(self.raidmembers) - self.raidspares
smallest = None