diff options
author | Matthew Hodgson <matthew@matrix.org> | 2017-12-31 17:50:55 +0000 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-08-12 19:14:31 -0400 |
commit | edc427a35187e462458d188039e761ffdb7e486d (patch) | |
tree | 94d8f5aabdd584785e67ea49d7bfa44d12241ab0 /synapse/storage | |
parent | implement remaining tests and make them work (diff) | |
download | synapse-edc427a35187e462458d188039e761ffdb7e486d.tar.xz |
flake8
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/e2e_room_keys.py | 2 |
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']] = { |