diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-03-06 15:11:13 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-03-06 15:11:13 +0000 |
commit | 54b78a0e3b6efcc9b576e5a706991382d2984d10 (patch) | |
tree | 1c2528cdf32a55be7a1e4947ea11dc3849800c92 | |
parent | Mention the session ID in the error message (diff) | |
download | synapse-54b78a0e3b6efcc9b576e5a706991382d2984d10.tar.xz |
Lint
-rw-r--r-- | synapse/handlers/e2e_room_keys.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/e2e_room_keys.py b/synapse/handlers/e2e_room_keys.py index cad38d2bdd..9abaf13b8f 100644 --- a/synapse/handlers/e2e_room_keys.py +++ b/synapse/handlers/e2e_room_keys.py @@ -210,8 +210,7 @@ class E2eRoomKeysHandler(object): if not isinstance(room_key["is_verified"], bool): msg = ( "is_verified must be a boolean in keys for session %s in" - "room %s" - % (session_id, room_id) + "room %s" % (session_id, room_id) ) raise SynapseError(400, msg, Codes.INVALID_PARAM) |