summaryrefslogtreecommitdiffstats
path: root/contrib/nssciphersuite
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-08-24 13:37:30 +0200
committerDavid Kupka <dkupka@redhat.com>2016-10-24 14:11:08 +0200
commit0d370a959b6b55f995661b2febe55c379065c4d9 (patch)
tree6aa1069568e2ef78634712328d84a64c4e0945fd /contrib/nssciphersuite
parent1077743d90902fc776f837f8486fa7f08b560673 (diff)
downloadfreeipa-0d370a959b6b55f995661b2febe55c379065c4d9.tar.gz
freeipa-0d370a959b6b55f995661b2febe55c379065c4d9.tar.xz
freeipa-0d370a959b6b55f995661b2febe55c379065c4d9.zip
pylint: enable the import-error check
Check for import errors with pylint to make sure new python package dependencies are not overlooked. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'contrib/nssciphersuite')
-rwxr-xr-xcontrib/nssciphersuite/nssciphersuite.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/nssciphersuite/nssciphersuite.py b/contrib/nssciphersuite/nssciphersuite.py
index dee05d470..66e2b273d 100755
--- a/contrib/nssciphersuite/nssciphersuite.py
+++ b/contrib/nssciphersuite/nssciphersuite.py
@@ -25,7 +25,10 @@ from __future__ import print_function
import operator
import re
-from urllib.request import urlopen # pylint: disable=no-name-in-module
+
+# pylint: disable=import-error,no-name-in-module
+from urllib.request import urlopen
+# pylint: enable=import-error,no-name-in-module
SOURCE = "https://git.fedorahosted.org/cgit/mod_nss.git/plain/nss_engine_cipher.c"