Handle when the lookup-plugin is used in jinja-style

This fixes #14190.
This commit is contained in:
Dag Wieers
2016-02-03 01:52:17 +01:00
parent 5cd3f71792
commit dee5dba82a

View File

@@ -171,7 +171,7 @@ class LookupModule(LookupBase):
else:
total_search.append(term)
else:
total_search = terms
total_search = self._flatten(terms)
roledir = variables.get('roledir')
for fn in total_search: