Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsoulas committed Dec 27, 2023
1 parent 576b0c4 commit fba4c54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mozilla_django_oidc/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,11 @@ def raise_token_response_error(self, response):
if response.status_code == 200:
return
# otherwise something is up...
http_error_msg = f"Get Token Error (url: {response.url}, status: {response.status_code}, body: {response.text})"
http_error_msg = (
f"Get Token Error (url: {response.url}, "
f"status: {response.status_code}, "
f"body: {response.text})"
)
raise HTTPError(http_error_msg, response=response)

def get_userinfo(self, access_token, id_token, payload):
Expand Down

0 comments on commit fba4c54

Please sign in to comment.