For resize operations, we need the ability to set a new size for the StorageDevice before performing the resize. --- storage/devices.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 678ed62..2f4b1e9 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -530,11 +530,10 @@ class StorageDevice(Device): def _setSize(self, newsize): """ Set the device's size to a new value. """ - # FIXME: this should involve some verification self._size = newsize size = property(lambda x: x._getSize(), - #lambda x, y: x._setSize(y), + lambda x, y: x._setSize(y), doc="The device's size, accounting for pending changes") @property -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list