now fixed to actually work

This commit is contained in:
Brian Coca 2015-08-10 13:51:56 -04:00
parent ee365c881f
commit 5c1d850fbb

View file

@ -251,7 +251,7 @@ class Templar:
instance = self._lookup_loader.get(name.lower(), loader=self._loader, templar=self) instance = self._lookup_loader.get(name.lower(), loader=self._loader, templar=self)
if instance is not None: if instance is not None:
loop_terms = listify_lookup_plugin_terms(terms=*args, templar=self, loader=self._loader, fail_on_undefined=True) loop_terms = listify_lookup_plugin_terms(terms=args, templar=self, loader=self._loader, fail_on_undefined=True)
# safely catch run failures per #5059 # safely catch run failures per #5059
try: try:
ran = instance.run(*args, variables=self._available_variables, **kwargs) ran = instance.run(*args, variables=self._available_variables, **kwargs)