Fix bug in nested lookup where pop is called indiscriminately

pull/12525/head
James Cammarata 10 years ago
parent 191ae0831d
commit 60e1a1f8eb

@ -27,7 +27,7 @@ class LookupModule(LookupBase):
def _lookup_variables(self, terms, variables):
foo = variables.copy()
foo.pop('vars')
foo.pop('vars', None)
results = []
for x in terms:
try:

Loading…
Cancel
Save