self.format cannot be None. --- pyanaconda/storage/devices.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py index 5bedfd4..ab0d4d6 100644 --- a/pyanaconda/storage/devices.py +++ b/pyanaconda/storage/devices.py @@ -590,8 +590,8 @@ class StorageDevice(Device): @property def resizable(self): """ Can this type of device be resized? """ - return self._resizable and self.exists and \ - ((self.format and self.format.resizable) or not self.format) + return (self._resizable and self.exists and + (self.format.resizable or not self.format.type)) def notifyKernel(self): """ Send a 'change' uevent to the kernel for this device. """ -- 1.7.2.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list