able to remove the hack on ActionBase after all

pull/715/head
Steven Robertson 4 years ago
parent 19f92a2435
commit 03438271bb

@ -74,15 +74,8 @@ except ImportError:
LOG = logging.getLogger(__name__)
try:
BaseActionClass = ansible.plugins.action.ActionBase
except AttributeError:
# full collection support was added in v2.10.0
# monkeypatching collections since they don't have an actionBase
BaseActionClass = type('DummyActionBase', (object,), {})
class ActionModuleMixin(BaseActionClass):
class ActionModuleMixin(ansible.plugins.action.ActionBase):
"""
The Mitogen-patched PluginLoader dynamically mixes this into every action
class that Ansible attempts to load. It exists to override all the

Loading…
Cancel
Save