issue #61: unused variable (reported by LGTM)

issue510
David Wilson 6 years ago
parent f67960848b
commit 907c4556c8

@ -75,7 +75,6 @@ def wrap_action_loader__get(name, *args, **kwargs):
""" """
klass = action_loader__get(name, class_only=True) klass = action_loader__get(name, class_only=True)
if klass: if klass:
wrapped_name = 'MitogenActionModule_' + name
bases = (ansible_mitogen.mixins.ActionModuleMixin, klass) bases = (ansible_mitogen.mixins.ActionModuleMixin, klass)
adorned_klass = type(str(name), bases, {}) adorned_klass = type(str(name), bases, {})
if kwargs.get('class_only'): if kwargs.get('class_only'):

Loading…
Cancel
Save