[master 1/2] filter_gui: device discovery configuration is under anaconda.storage.config.

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

 



must have slipped from 53da5c53b40f6f1d7bc77269fbcdc1e4e43a9001.
---
 pyanaconda/iw/filter_gui.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/pyanaconda/iw/filter_gui.py b/pyanaconda/iw/filter_gui.py
index 7144ebc..c5319f5 100644
--- a/pyanaconda/iw/filter_gui.py
+++ b/pyanaconda/iw/filter_gui.py
@@ -434,7 +434,7 @@ class FilterWindow(InstallWindow):
                                              custom_icon="error")
             raise gui.StayOnScreen
 
-        self.anaconda.storage.exclusiveDisks = list(selected)
+        self.anaconda.storage.config.exclusiveDisks = list(selected)
 
     def _add_advanced_clicked(self, button):
         from advanced_storage import addDrive
@@ -550,7 +550,7 @@ class FilterWindow(InstallWindow):
     def getScreen(self, anaconda):
         # We skip the filter UI in basic storage mode
         if anaconda.simpleFilter:
-            anaconda.storage.exclusiveDisks = []
+            anaconda.storage.config.exclusiveDisks = []
             return None
 
         (self.xml, self.vbox) = gui.getGladeWidget("filter.glade", "vbox")
@@ -593,8 +593,8 @@ class FilterWindow(InstallWindow):
         fcoe.fcoe().startup(anaconda.intf)
         zfcp.ZFCP().startup(anaconda.intf)
         dasd.DASD().startup(anaconda.intf,
-                                    anaconda.storage.exclusiveDisks,
-                                    anaconda.storage.zeroMbr)
+                                    anaconda.storage.config.exclusiveDisks,
+                                    anaconda.storage.config.zeroMbr)
         disks = self._getFilterDisks()
 
         mcw = MultipathConfigWriter()
@@ -684,11 +684,11 @@ class FilterWindow(InstallWindow):
 
             name = udev_device_get_name(info)
 
-            if self.anaconda.storage.exclusiveDisks and \
-               name in self.anaconda.storage.exclusiveDisks:
+            if self.anaconda.storage.config.exclusiveDisks and \
+               name in self.anaconda.storage.config.exclusiveDisks:
                 return True
-            elif self.anaconda.storage.ignoredDisks and \
-                name not in self.anaconda.storage.ignoredDisks:
+            elif self.anaconda.storage.config.ignoredDisks and \
+                name not in self.anaconda.storage.config.ignoredDisks:
                 return True
             else:
                 return False
-- 
1.7.3.2

_______________________________________________
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