summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-12-31 17:50:55 +0000
committerHubert Chathi <hubert@uhoreg.ca>2018-08-12 19:14:31 -0400
commitedc427a35187e462458d188039e761ffdb7e486d (patch)
tree94d8f5aabdd584785e67ea49d7bfa44d12241ab0 /synapse
parentimplement remaining tests and make them work (diff)
downloadsynapse-edc427a35187e462458d188039e761ffdb7e486d.tar.xz
flake8
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/e2e_room_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/e2e_room_keys.py b/synapse/storage/e2e_room_keys.py
index 8e8e4e457c..c2f226396d 100644
--- a/synapse/storage/e2e_room_keys.py
+++ b/synapse/storage/e2e_room_keys.py
@@ -136,7 +136,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
             desc="get_e2e_room_keys",
         )
 
-        sessions = { 'rooms': {} }
+        sessions = {'rooms': {}}
         for row in rows:
             room_entry = sessions['rooms'].setdefault(row['room_id'], {"sessions": {}})
             room_entry['sessions'][row['session_id']] = {