Fix pep8 issue

lib/ansible/plugins/vars/host_group_vars.py:74:41: E261 at least two spaces before inline comment
Caused by daef6f0911
This commit is contained in:
John R Barker 2017-05-24 16:53:02 +01:00 committed by GitHub
parent 09e80a1306
commit c158705c48

View file

@ -71,7 +71,7 @@ class VarsModule(BaseVarsPlugin):
for found in self._find_vars_files(opath, entity.name):
self._display.debug("READING %s" % found)
new_data = loader.load_from_file(found, cache=True, unsafe=True)
if new_data: # ignore empty files
if new_data: # ignore empty files
data = combine_vars(data, new_data)
else:
self._display.warning("Found %s that is not a directory, skipping: %s" % (subdir, opath))