diff --git a/lib/ansible/plugins/lookup/__init__.py b/lib/ansible/plugins/lookup/__init__.py index 9e641d8c65..56f87c9192 100644 --- a/lib/ansible/plugins/lookup/__init__.py +++ b/lib/ansible/plugins/lookup/__init__.py @@ -44,7 +44,7 @@ class LookupBase(with_metaclass(ABCMeta, object)): return self._loader.get_basedir() @staticmethod - def _flatten(self, terms): + def _flatten(terms): ret = [] for term in terms: if isinstance(term, (list, tuple)):