summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-03-06 11:10:52 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-03-06 11:10:52 +0000
commit45df9d35a9500e9a21139951845980a296a62e0b (patch)
tree94df9d68a39019adb4a65a3b6d3d089627a5b429 /synapse
parentChangelog (diff)
downloadsynapse-45df9d35a9500e9a21139951845980a296a62e0b.tar.xz
Lint
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/e2e_room_keys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/e2e_room_keys.py b/synapse/handlers/e2e_room_keys.py
index 854c181fcc..a953a7fe04 100644
--- a/synapse/handlers/e2e_room_keys.py
+++ b/synapse/handlers/e2e_room_keys.py
@@ -209,7 +209,8 @@ class E2eRoomKeysHandler(object):
                 for session_id, room_key in iteritems(room["sessions"]):
                     if not isinstance(room_key["is_verified"], bool):
                         msg = (
-                            "is_verified must be a boolean in keys for room %s" % room_id
+                            "is_verified must be a boolean in keys for room %s"
+                            % room_id
                         )
                         raise SynapseError(400, msg, Codes.INVALID_PARAM)