diff options
author | Christian Heimes <cheimes@redhat.com> | 2016-11-23 10:04:43 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-11-25 16:18:22 +0100 |
commit | 38e8719f728e6d54289507fe2c7f79f9272c45c0 (patch) | |
tree | 09b4709a878ae7bb428a0302043d15e20747efed /ipapython/ipautil.py | |
parent | 044d887e81d433b43c33b076a21fd1054796786e (diff) | |
download | freeipa-38e8719f728e6d54289507fe2c7f79f9272c45c0.tar.gz freeipa-38e8719f728e6d54289507fe2c7f79f9272c45c0.tar.xz freeipa-38e8719f728e6d54289507fe2c7f79f9272c45c0.zip |
Python3 pylint fixes
Sprinkle 'pylint disable' comments over the code base to silence a bunch
of pylint warnings on Python 3. All silenced warnings are harmless and
not bugs.
https://fedorahosted.org/freeipa/ticket/4985
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipapython/ipautil.py')
-rw-r--r-- | ipapython/ipautil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py index 7d3429493..472ba3596 100644 --- a/ipapython/ipautil.py +++ b/ipapython/ipautil.py @@ -690,7 +690,9 @@ class CIDict(dict): if six.PY2: def has_key(self, key): + # pylint: disable=no-member return super(CIDict, self).has_key(key.lower()) + # pylint: enable=no-member def get(self, key, failobj=None): try: |