[PATCH 3/5] Adjust child counts correctly when unhiding a device.

David Lehman dlehman at redhat.com
Tue Feb 5 23:05:40 UTC 2013


---
 blivet/devicetree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index 70c8bfc..f118ad5 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -1730,7 +1730,7 @@ class DeviceTree(object):
                 self._hidden.remove(hidden)
                 self._devices.append(hidden)
                 lvm.lvm_cc_removeFilterRejectRegexp(hidden.name)
-                for parent in device.parents:
+                for parent in hidden.parents:
                     parent.addChild()
 
     def _setupLvs(self):
-- 
1.8.1



More information about the anaconda-patches mailing list