fix linting

This commit is contained in:
Robert Kaussow 2020-05-19 10:46:02 +02:00
parent 76ce185461
commit 7c7499313e

View File

@ -27,7 +27,7 @@ def get_tasks(candidate, settings):
e = ex.original e = ex.original
errors.append(Error(e.problem_mark.line + 1, "syntax error: {msg}".format(msg=e.problem))) errors.append(Error(e.problem_mark.line + 1, "syntax error: {msg}".format(msg=e.problem)))
except LaterAnsibleError as e: except LaterAnsibleError as e:
errors.append(Error(e.line, "syntax error: {msg}".format(e.message))) errors.append(Error(e.line, "syntax error: {msg}".format(msg=e.message)))
return yamllines, errors return yamllines, errors