summaryrefslogtreecommitdiffstats
path: root/roles/openshift_certificate_expiry
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-03-09 13:50:33 -0500
committerJason DeTiberus <jdetiber@redhat.com>2017-03-09 13:50:33 -0500
commit1100f5a76dff38a1f191f7b3ae42ec13bfc3c43e (patch)
tree424cb5d71bbfc1aa1e350aca5c0ca04147d14978 /roles/openshift_certificate_expiry
parent2e37c702c8d4c3778d172d8e886f68e23d4aeebc (diff)
downloadopenshift-1100f5a76dff38a1f191f7b3ae42ec13bfc3c43e.tar.gz
openshift-1100f5a76dff38a1f191f7b3ae42ec13bfc3c43e.tar.bz2
openshift-1100f5a76dff38a1f191f7b3ae42ec13bfc3c43e.tar.xz
openshift-1100f5a76dff38a1f191f7b3ae42ec13bfc3c43e.zip
Use ansible.compat.six where possible
Diffstat (limited to 'roles/openshift_certificate_expiry')
-rw-r--r--roles/openshift_certificate_expiry/library/openshift_cert_expiry.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py b/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py
index 78e8747ed..c204b5341 100644
--- a/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py
+++ b/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py
@@ -10,8 +10,9 @@ import os
import subprocess
import yaml
-from ansible.module_utils.six.moves import configparser
-
+# pylint import-error disabled because pylint cannot find the package
+# when installed in a virtualenv
+from ansible.module_utils.six.moves import configparser # pylint: disable=import-error
from ansible.module_utils.basic import AnsibleModule
try: