Commit 60e1a1f8 by James Cammarata

Fix bug in nested lookup where pop is called indiscriminately

parent 191ae083
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment