Fix bug in nested lookup where pop is called indiscriminately

This commit is contained in:
James Cammarata 2015-09-25 17:16:35 -04:00
parent 191ae0831d
commit 60e1a1f8eb

View file

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