MDRaidArrayDevice.totalDevices is a read only property so don't write it, set MDRaidArrayDevice._totalDevices instead. Courtesy of pylint. --- storage/devices.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 37ec420..d780ff4 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -2269,7 +2269,7 @@ class MDRaidArrayDevice(StorageDevice): spares = self.totalDevices - self.memberDevices else: spares = self.memberDevices - self.totalDevices = self.memberDevices + self._totalDevices = self.memberDevices return spares def _setSpares(self, spares): -- 1.6.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list