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

No need for trailing semicolon.

This commit is contained in:
Michael DeHaan 2013-05-11 17:25:05 -04:00
parent ea8302e68d
commit 50586928b2

View file

@ -51,7 +51,7 @@ class VarsModule(object):
data = utils.parse_yaml_from_file(path) data = utils.parse_yaml_from_file(path)
if type(data) != dict: if type(data) != dict:
raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path) raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path)
results = utils.combine_vars(results, data); results = utils.combine_vars(results, data)
# load vars in inventory_dir/hosts_vars/name_of_host # load vars in inventory_dir/hosts_vars/name_of_host
p = os.path.join(basedir, "host_vars/%s" % host.name) p = os.path.join(basedir, "host_vars/%s" % host.name)
@ -61,7 +61,7 @@ class VarsModule(object):
data = utils.parse_yaml_from_file(path) data = utils.parse_yaml_from_file(path)
if type(data) != dict: if type(data) != dict:
raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path) raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path)
results = utils.combine_vars(results, data); results = utils.combine_vars(results, data)
return results return results