1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove mysterious old cruft

The two lines were added in 2673eb0a and modified in 60e1a1f8, but foo
is completely unused. Removing it doesn't break anything: out it goes!
This commit is contained in:
Abhijit Menon-Sen 2015-10-01 20:32:08 +05:30
parent fe0e4f27ad
commit 49b35ad5dd

View file

@ -26,8 +26,6 @@ from ansible.utils.listify import listify_lookup_plugin_terms
class LookupModule(LookupBase): class LookupModule(LookupBase):
def _lookup_variables(self, terms, variables): def _lookup_variables(self, terms, variables):
foo = variables.copy()
foo.pop('vars', None)
results = [] results = []
for x in terms: for x in terms:
try: try: