Skip to content

Commit

Permalink
pylint fix-again
Browse files Browse the repository at this point in the history
  • Loading branch information
sugetha24 committed Nov 20, 2023
1 parent 306ab08 commit 7eaeb26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def tasker(self, taskIds_list: list, state: str = 'executed'):
if "Forbidden" in str(e):
message = "Error while adding note and executing task. User is unauthorized!"
else:
message = "Error while adding note to task: {}".format(str(e))
message = "Error while adding note to task: {0}".format(str(e))
logging.error(message)
self.__ansible.fail_json(msg=message)
if state == "executed":
Expand Down

0 comments on commit 7eaeb26

Please sign in to comment.