diff --git a/blivet/devices/storage.py b/blivet/devices/storage.py index f5c7c110b..41df65f64 100644 --- a/blivet/devices/storage.py +++ b/blivet/devices/storage.py @@ -680,14 +680,8 @@ def vendor(self): @property def growable(self): - """ True if this device or it's component devices are growable. """ - grow = getattr(self, "req_grow", False) - if not grow: - for parent in self.parents: - grow = parent.growable - if grow: - break - return grow + """ True if this device or its component devices are growable. """ + return getattr(self, "req_grow", False) or any(p.growable for p in self.parents) def checkSize(self): """ Check to make sure the size of the device is allowed by the