[PATCH] blivet no longer has a protectedDevices property.

Chris Lumens clumens at redhat.com
Fri Feb 7 15:24:10 UTC 2014


---
 pyanaconda/ui/gui/spokes/lib/refresh.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/refresh.py b/pyanaconda/ui/gui/spokes/lib/refresh.py
index 2b61cf7..396c38f 100644
--- a/pyanaconda/ui/gui/spokes/lib/refresh.py
+++ b/pyanaconda/ui/gui/spokes/lib/refresh.py
@@ -89,9 +89,8 @@ class RefreshDialog(GUIObject):
         self._notebook.set_current_page(1)
 
         # And now to fire up the storage reinitialization.
-        protectedNames = map(lambda d: d.name, self.storage.protectedDevices)
         threadMgr.add(AnacondaThread(name=constants.THREAD_STORAGE, target=storageInitialize,
-                                     args=(self.storage, self.data, protectedNames)))
+                                     args=(self.storage, self.data, self.storage.devicetree.protectedDevNames)))
 
         self._elapsed = 0
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list