summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-10-27 10:33:17 +0000
committerMark Haines <mark.haines@matrix.org>2014-10-27 10:33:17 +0000
commitd56e389a95dfcbcbbf279655a6f4935c07cd674f (patch)
treed76302c12bd00269f90b286dbc18469e5796dea7 /synapse/rest
parentAdd log message if we can't enable ECC. Require pyopenssl>=0.14 since 0.13 do... (diff)
downloadsynapse-d56e389a95dfcbcbbf279655a6f4935c07cd674f.tar.xz
Fix pyflakes warnings
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/room.py b/synapse/rest/room.py
index a01dab1b8e..c72bdc2c34 100644
--- a/synapse/rest/room.py
+++ b/synapse/rest/room.py
@@ -344,7 +344,7 @@ class RoomInitialSyncRestServlet(RestServlet):
 
     @defer.inlineCallbacks
     def on_GET(self, request, room_id):
-        user = yield self.auth.get_user_by_req(request)
+        yield self.auth.get_user_by_req(request)
         # TODO: Get all the initial sync data for this room and return in the
         # same format as initial sync, that is:
         # {