From: David Lehman dlehman@redhat.com
--- blivet/devices/md.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/devices/md.py b/blivet/devices/md.py index e4156f8..b204e43 100644 --- a/blivet/devices/md.py +++ b/blivet/devices/md.py @@ -556,11 +556,11 @@ def model(self):
@property def partitionable(self): - return self.exists and all(p.partitionable for p in self.parents) + return self.exists and self.parents and all(p.partitionable for p in self.members)
@property def isDisk(self): - return self.exists and all(p.isDisk for p in self.parents) + return self.exists and self.parents and all(p.isDisk for p in self.members)
def dracutSetupArgs(self): return set(["rd.md.uuid=%s" % self.mdadmFormatUUID])