--- storage/devices.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 33004dc..826df8c 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -2059,7 +2059,7 @@ class MDRaidArrayDevice(StorageDevice): @property def mdadmConfEntry(self): """ This array's mdadm.conf entry. """ - if not self.level or self.memberDevices is None or not self.uuid: + if self.level is None or self.memberDevices is None or not self.uuid: raise DeviceError("array is not fully defined") fmt = "ARRAY level=%s num-devices=%d UUID=%s" -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list