From 72fb8ac9c82e7ee922a6c988bb475bebc2fc0e20 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Thu, 15 Aug 2019 20:59:16 -0700 Subject: [PATCH] black --- synapse/handlers/e2e_room_keys.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synapse/handlers/e2e_room_keys.py b/synapse/handlers/e2e_room_keys.py index f4a531f0c2..a4567dcfaf 100644 --- a/synapse/handlers/e2e_room_keys.py +++ b/synapse/handlers/e2e_room_keys.py @@ -108,7 +108,9 @@ class E2eRoomKeysHandler(object): with (yield self._upload_linearizer.queue(user_id)): # make sure the backup version exists try: - version_info = yield self.store.get_e2e_room_keys_version_info(user_id, version) + version_info = yield self.store.get_e2e_room_keys_version_info( + user_id, version + ) except StoreError as e: if e.code == 404: raise NotFoundError("Unknown backup version")