diff --git a/lib/ansible/plugins/lookup/__init__.py b/lib/ansible/plugins/lookup/__init__.py index 56f87c91925..33efbc564cd 100644 --- a/lib/ansible/plugins/lookup/__init__.py +++ b/lib/ansible/plugins/lookup/__init__.py @@ -58,7 +58,7 @@ class LookupBase(with_metaclass(ABCMeta, object)): results = [] for x in a: for y in b: - results.append(self._flatten([x,y])) + results.append(LookupBase._flatten([x,y])) return results @staticmethod