1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Misc identation.

This commit is contained in:
Michael DeHaan 2013-05-11 17:24:12 -04:00
parent 0a1657080b
commit 9f47d13306

View file

@ -227,8 +227,8 @@ def _legacy_varFind(basedir, text, vars, lookup_fatal, depth, expand_lists):
# args have to be templated
args = legacy_varReplace(basedir, args, vars, lookup_fatal, depth + 1, True)
if isinstance(args, basestring) and args.find('$') != -1:
# unable to evaluate something like $FILE($item) at this point, try to evaluate later
return None
# unable to evaluate something like $FILE($item) at this point, try to evaluate later
return None
instance = utils.plugins.lookup_loader.get(lookup_plugin_name.lower(), basedir=basedir)