Skip to content

Commit

Permalink
fix Black test
Browse files Browse the repository at this point in the history
  • Loading branch information
alaa-bish committed Jan 26, 2022
1 parent bd76e8e commit 875aae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/module_utils/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 875aae4

Please sign in to comment.