From 7eaeb26f118bc53e34552e3476dcd22d95d48a5f Mon Sep 17 00:00:00 2001 From: Sugetha Chandhrasekar Date: Mon, 20 Nov 2023 15:14:36 -0800 Subject: [PATCH] pylint fix-again --- .../arista/cvp/plugins/module_utils/task_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py index 47ceb2e02..fd7443957 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py @@ -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":