[PATCH 21/21] Remove the right device name from the lvm filter when unhiding device.

David Lehman dlehman at redhat.com
Thu Aug 9 19:28:40 UTC 2012


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

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index 24572ad..1567305 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -1728,7 +1728,7 @@ class DeviceTree(object):
                                                             hidden.id))
                 self._hidden.remove(hidden)
                 self._devices.append(hidden)
-                lvm.lvm_cc_removeFilterRejectRegexp(device.name)
+                lvm.lvm_cc_removeFilterRejectRegexp(hidden.name)
 
     def _setupLvs(self):
         ret = False
-- 
1.7.7.6



More information about the anaconda-patches mailing list