From 28c742149d322644a63b2dba62758c3b6355097c Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 29 Jul 2019 16:15:46 +0100 Subject: Use async/await syntax. Signed-off-by: Olivier Wilkinson (reivilibre) --- synapse/handlers/room_list.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index 4774905c40..c911de022c 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -24,8 +24,7 @@ from unpaddedbase64 import decode_base64, encode_base64 from twisted.internet import defer from synapse.api.constants import EventTypes, JoinRules -from synapse.api.errors import Codes, HttpResponseException -from synapse.api.errors import SynapseError +from synapse.api.errors import Codes, HttpResponseException, SynapseError from synapse.types import ThirdPartyInstanceID from synapse.util.caches.descriptors import cachedInlineCallbacks from synapse.util.caches.response_cache import ResponseCache -- cgit 1.4.1