Fix bug in nested lookup where pop is called indiscriminately
This commit is contained in:
parent
191ae0831d
commit
60e1a1f8eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue