--- storage/devicetree.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index 44f3129..bf6b606 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -1284,7 +1284,7 @@ class DeviceTree(object): # If this device is protected, mark it as such now. Once the tree # has been populated, devices' protected attribute is how we will # identify protected devices. - if device.name in self.protectedDevNames: + if device and device.name in self.protectedDevNames: device.protected = True # now handle the device's formatting -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list