Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 18, 2023
1 parent 7283152 commit 3616ab4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spinnman/spalloc/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def pp_resp(response: requests.Response):
print('{}\n{}\r\n{}\r\n\r\n{}'.format(
'<<<<<<<<<<<START<<<<<<<<<<<',
str(response.status_code) + " " + response.reason,
'\r\n'.join('{}: {}'.format(*kv) for kv in response.headers.items()),
'\r\n'.join('{}: {}'.format(*kv)
for kv in response.headers.items()),
# Assume we only get textual responses
str(response.content, "UTF-8") if response.content else ""))

Expand Down

0 comments on commit 3616ab4

Please sign in to comment.