fix linting

This commit is contained in:
Robert Kaussow 2020-05-19 10:46:02 +02:00
parent 76ce185461
commit 7c7499313e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def get_tasks(candidate, settings):
e = ex.original
errors.append(Error(e.problem_mark.line + 1, "syntax error: {msg}".format(msg=e.problem)))
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