Pylint does not handle the _make, _asdict, _replace and _fields
attributes of namedtuple objects, and it looks like they have no
interest in doing so. See
http://www.logilab.org/ticket/33617
---
pyanaconda/ui/gui/spokes/advstorage/iscsi.py | 1 +
pyanaconda/ui/gui/spokes/filter.py | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
index 0c96543..020ca16 100644
--- a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
+++ b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
@@ -331,6 +331,7 @@ class ISCSIDialog(GUIObject):
def _login(self, credentials):
for row in self._store:
+ # pylint: disable-msg=E1101
obj = NodeStoreRow._make(row)
if not obj.selected:
diff --git a/pyanaconda/ui/gui/spokes/filter.py b/pyanaconda/ui/gui/spokes/filter.py
index fe8c354..32d2a49 100644
--- a/pyanaconda/ui/gui/spokes/filter.py
+++ b/pyanaconda/ui/gui/spokes/filter.py
@@ -202,6 +202,7 @@ class SearchPage(FilterPage):
return hasattr(device, "fcp_lun") and self._lunEntry.get_text() in
device.fcp_lun
def visible_func(self, model, itr, *args):
+ # pylint: disable-msg=E1101
obj = DiskStoreRow._make(model[itr])
device = self.storage.devicetree.getDeviceByName(obj.name, hidden=True)
return self._filter_func(device)
@@ -269,6 +270,7 @@ class MultipathPage(FilterPage):
if not flags.mpath:
return False
+ # pylint: disable-msg=E1101
obj = DiskStoreRow._make(model[itr])
device = self.storage.devicetree.getDeviceByName(obj.name, hidden=True)
return self.ismember(device) and self._filter_func(device)
@@ -356,6 +358,7 @@ class OtherPage(FilterPage):
return False
def visible_func(self, model, itr, *args):
+ # pylint: disable-msg=E1101
obj = DiskStoreRow._make(model[itr])
device = self.storage.devicetree.getDeviceByName(obj.name, hidden=True)
return self.ismember(device) and self._filter_func(device)
@@ -373,6 +376,7 @@ class RaidPage(FilterPage):
if not flags.dmraid:
return False
+ # pylint: disable-msg=E1101
obj = DiskStoreRow._make(model[itr])
device = self.storage.devicetree.getDeviceByName(obj.name, hidden=True)
return self.ismember(device)
@@ -393,6 +397,7 @@ class ZPage(FilterPage):
return
def visible_func(self, model, itr, *args):
+ # pylint: disable-msg=E1101
obj = DiskStoreRow._make(model[itr])
device = self.storage.devicetree.getDeviceByName(obj.name, hidden=True)
return self.ismember(device)
--
1.8.3.1