From 875aae46f02b4e11f34fee5ce3316728d1a61371 Mon Sep 17 00:00:00 2001 From: alaa-bish Date: Wed, 26 Jan 2022 10:48:39 +0000 Subject: [PATCH] fix Black test --- plugins/module_utils/entity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/module_utils/entity.py b/plugins/module_utils/entity.py index 9d93940db..4a9a00248 100644 --- a/plugins/module_utils/entity.py +++ b/plugins/module_utils/entity.py @@ -158,9 +158,9 @@ def send_request(module, method, req_url, req_data, username, password, timeout= module.fail_json( msg="Fail: " + "Status: " - + '{0}'.format(str(info["msg"])) + + "{0}".format(str(info["msg"])) + ", Message: " - + '{0}'.format(str(info.get("body"))) + + "{0}".format(str(info.get("body"))) ) body = resp.read() if resp else info.get("body")