Locally disable some E1101 "errors" that pylint doesn't understand.
The sitecustomize error is because sys.setdefaultencoding is special and
gets removed from the namespace.
The other two are because pylint doesn't understand the dbMatch method call,
likely because it's added to the module dynamically.
---
pyanaconda/security.py | 1 +
pyanaconda/sitecustomize.py | 1 +
pyanaconda/storage/__init__.py | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pyanaconda/security.py b/pyanaconda/security.py
index 5c71012..6f9449b 100644
--- a/pyanaconda/security.py
+++ b/pyanaconda/security.py
@@ -64,6 +64,7 @@ class Security:
# We get the arch from the initscripts package, but the version and name
# must come from reading the release file.
+ # pylint: disable-msg=E1101
mi = ts.dbMatch('provides', 'initscripts')
for h in mi:
relArch = h['arch']
--
1.7.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list