[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/4] Set formats' device attr when associating the format with a device.



---
 pyanaconda/storage/devices.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 14b0930..a125652 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -916,6 +916,7 @@ class StorageDevice(Device):
             raise DeviceError("cannot replace active format", self.name)
 
         self._format = format
+        self._format.device = self.path
 
     def _getFormat(self):
         return self._format
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]