[rhel6-branch 2/4] Set formats' device attr when associating the format with a device.

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

 



From: David Lehman <dlehman@xxxxxxxxxx>

cherry-pick of 2e73cc57a79d23b23e578de43317002e1a6e0bb7

Related: rhbz#731973
---
 storage/devices.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 637980e..72d6c61 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -728,6 +728,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.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux