summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2015-03-27 07:14:27 -0400
committerMartin Kosek <mkosek@redhat.com>2015-04-27 11:02:57 +0200
commit9b706e74d56c2611e2794e0ad03bb786ee300544 (patch)
treee0404697acc9ea1780f1eb381f7cb5eed9bb5d2c /ipapython
parent4364ac08c538e3a4253804f523707092b34c2ed2 (diff)
downloadfreeipa-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 'ipapython')
-rw-r--r--ipapython/dnssec/ldapkeydb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipapython/dnssec/ldapkeydb.py b/ipapython/dnssec/ldapkeydb.py
index 71c0a95a3..520b51070 100644
--- a/ipapython/dnssec/ldapkeydb.py
+++ b/ipapython/dnssec/ldapkeydb.py
@@ -23,6 +23,7 @@ def uri_escape(val):
assert len(val) > 0, "zero-length URI component detected"
hexval = hexlify(val)
out = '%'
+ # pylint: disable=E1127
out += '%'.join(hexval[i:i+2] for i in range(0, len(hexval), 2))
return out