diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-05-03 14:23:11 +0200 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-05-24 14:26:47 -0400 |
commit | 0e19323dee9955000d1ffb16639b4729b0af9a22 (patch) | |
tree | 9f1aeca8aa9541adf9fd4ee4e8c18c27ac8f098f | |
parent | d346dedd32bb4cd7afb32de21990b8add8faf7ea (diff) | |
download | openshift-0e19323dee9955000d1ffb16639b4729b0af9a22.tar.gz openshift-0e19323dee9955000d1ffb16639b4729b0af9a22.tar.bz2 openshift-0e19323dee9955000d1ffb16639b4729b0af9a22.tar.xz openshift-0e19323dee9955000d1ffb16639b4729b0af9a22.zip |
Remove unnecessary comment.
Capturing the ImportError is a common idiom in Ansible modules, and it
is not specific to tox.
-rwxr-xr-x | roles/openshift_health_checker/library/aos_version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/library/aos_version.py b/roles/openshift_health_checker/library/aos_version.py index 4eeb2088e..4c205e48c 100755 --- a/roles/openshift_health_checker/library/aos_version.py +++ b/roles/openshift_health_checker/library/aos_version.py @@ -24,7 +24,7 @@ IMPORT_EXCEPTION = None try: import yum # pylint: disable=import-error except ImportError as err: - IMPORT_EXCEPTION = err # in tox test env, yum import fails + IMPORT_EXCEPTION = err class AosVersionException(Exception): |