diff options
author | David Kupka <dkupka@redhat.com> | 2015-03-27 07:14:27 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2015-04-27 11:02:57 +0200 |
commit | 9b706e74d56c2611e2794e0ad03bb786ee300544 (patch) | |
tree | e0404697acc9ea1780f1eb381f7cb5eed9bb5d2c /ipalib | |
parent | 4364ac08c538e3a4253804f523707092b34c2ed2 (diff) | |
download | freeipa-9b706e74d56c2611e2794e0ad03bb786ee300544.tar.gz freeipa-9b706e74d56c2611e2794e0ad03bb786ee300544.tar.xz freeipa-9b706e74d56c2611e2794e0ad03bb786ee300544.zip |
Make lint work on Fedora 22.
pylint added 'confidence' parameter to 'add_message' method of PyLinter.
To be compatible with both, pre- and post- 1.4 IPALinter must accept
the parameter but not pass it over.
Also python3 checker was added and enabled by default. FreeIPA is still
not ready for python3.
Additionally few false-positives was marked.
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/otptoken.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/otptoken.py b/ipalib/plugins/otptoken.py index b87145df8..867659ec2 100644 --- a/ipalib/plugins/otptoken.py +++ b/ipalib/plugins/otptoken.py @@ -547,6 +547,7 @@ class otptoken_sync(Local): query = urllib.urlencode(query) # Sync the token. + # pylint: disable=E1101 handler = HTTPSHandler(ca_certs=os.path.join(self.api.env.confdir, 'ca.crt'), cert_reqs=ssl.CERT_REQUIRED, ssl_version=ssl.PROTOCOL_TLSv1) |