1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/sso.py b/synapse/handlers/sso.py
index 9c0d665461..07827cf95b 100644
--- a/synapse/handlers/sso.py
+++ b/synapse/handlers/sso.py
@@ -1192,9 +1192,9 @@ class SsoHandler:
"""
# It is expected that this is the main process.
- assert isinstance(
- self._device_handler, DeviceHandler
- ), "revoking SSO sessions can only be called on the main process"
+ assert isinstance(self._device_handler, DeviceHandler), (
+ "revoking SSO sessions can only be called on the main process"
+ )
# Invalidate any running user-mapping sessions
to_delete = []
|