From 9b706e74d56c2611e2794e0ad03bb786ee300544 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Fri, 27 Mar 2015 07:14:27 -0400 Subject: 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 --- ipapython/dnssec/ldapkeydb.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipapython/dnssec') 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 -- cgit