summaryrefslogtreecommitdiffstats
path: root/pyanaconda/sitecustomize.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-07-29 13:25:50 -0400
committerChris Lumens <clumens@redhat.com>2011-08-01 10:02:29 -0400
commit4b5bcd6d827e66a2e7517e5b2ef56007ea5de136 (patch)
tree32ff9df408def40a4b53245c1391235f87c1754d /pyanaconda/sitecustomize.py
parent31985c760785dd99d5652df945601bd9915e8538 (diff)
downloadanaconda-4b5bcd6d827e66a2e7517e5b2ef56007ea5de136.tar.gz
anaconda-4b5bcd6d827e66a2e7517e5b2ef56007ea5de136.tar.xz
anaconda-4b5bcd6d827e66a2e7517e5b2ef56007ea5de136.zip
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.
Diffstat (limited to 'pyanaconda/sitecustomize.py')
-rw-r--r--pyanaconda/sitecustomize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyanaconda/sitecustomize.py b/pyanaconda/sitecustomize.py
index 8246ed0f0..f2bcd102f 100644
--- a/pyanaconda/sitecustomize.py
+++ b/pyanaconda/sitecustomize.py
@@ -19,4 +19,5 @@
#
import sys
+# pylint: disable-msg=E1101
sys.setdefaultencoding('utf-8')