diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2017-03-09 12:38:36 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2017-03-09 12:38:36 -0500 |
commit | 2e37c702c8d4c3778d172d8e886f68e23d4aeebc (patch) | |
tree | 64b83430e687a59ab778ae5eac6b842c67bd68b4 /roles/openshift_health_checker | |
parent | 573e91d03d7dccd79a03774c6889c2c2753836b1 (diff) | |
download | openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.tar.gz openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.tar.bz2 openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.tar.xz openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.zip |
Use six from ansible.module_utils for remote hosts
Diffstat (limited to 'roles/openshift_health_checker')
-rw-r--r-- | roles/openshift_health_checker/openshift_checks/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/__init__.py b/roles/openshift_health_checker/openshift_checks/__init__.py index 2c70438c9..b410574a6 100644 --- a/roles/openshift_health_checker/openshift_checks/__init__.py +++ b/roles/openshift_health_checker/openshift_checks/__init__.py @@ -7,8 +7,7 @@ from abc import ABCMeta, abstractmethod, abstractproperty from importlib import import_module import operator -import six -from six.moves import reduce +from ansible.module_utils.six.moves import add_metaclass, reduce class OpenShiftCheckException(Exception): @@ -16,7 +15,7 @@ class OpenShiftCheckException(Exception): pass -@six.add_metaclass(ABCMeta) +@add_metaclass(ABCMeta) class OpenShiftCheck(object): """A base class for defining checks for an OpenShift cluster environment.""" |