mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 21:00:44 +00:00
fix linting
This commit is contained in:
parent
76ce185461
commit
7c7499313e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user