mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Lint
This commit is contained in:
parent
a27056d539
commit
45df9d35a9
@ -209,7 +209,8 @@ class E2eRoomKeysHandler(object):
|
|||||||
for session_id, room_key in iteritems(room["sessions"]):
|
for session_id, room_key in iteritems(room["sessions"]):
|
||||||
if not isinstance(room_key["is_verified"], bool):
|
if not isinstance(room_key["is_verified"], bool):
|
||||||
msg = (
|
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)
|
raise SynapseError(400, msg, Codes.INVALID_PARAM)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user