Skip to content

Commit

Permalink
more indent fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jun 3, 2024
1 parent b85f35e commit 5fac403
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spinnman/spalloc/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ def renew(self) -> JsonObject:
self.__login_form_url, r.status_code)
m = csrf_matcher.search(r.text)
if not m:
raise SpallocException(
"Could not establish temporary session to "
f"{self._service_url} for user {self.__username} "
f"with a {len(self.__password)} character password.")
raise SpallocException(
"Could not establish temporary session to "
f"{self._service_url} for user {self.__username} "
f"with a {len(self.__password)} character password.")
csrf = m.group(1)
session = r.cookies[_SESSION_COOKIE]

Expand Down

0 comments on commit 5fac403

Please sign in to comment.