fxed typo

pull/4420/head
Brian Coca 2016-07-14 09:05:01 -04:00
parent 786ee97c38
commit ee815bc9a4
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class TaskExecutor:
mylookup = self._shared_loader_obj.lookup_loader.get(self._task.loop, loader=self._loader, templar=templar)
# give lookup task 'context' for subdir (mostly needed for first_found)
for subdir in ['tempalte', 'var', 'file']: #TODO: move this to constants?
for subdir in ['template', 'var', 'file']: #TODO: move this to constants?
if subdir in self._task.name:
break
setattr(mylookup,'_subdir', subdir + 's')