summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-08-26 15:20:05 +0100
committerMark Haines <mark.haines@matrix.org>2014-08-26 16:02:59 +0100
commitac21dfff6d78221760c56e3ea357a4170d5a209e (patch)
tree92c7d7cdee0daf6270ede3004695ad245a96e845 /synapse/rest
parentAvoid double call of refresh at app startup (diff)
downloadsynapse-ac21dfff6d78221760c56e3ea357a4170d5a209e.tar.xz
Fix pyflakes errors
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 731317227d..6771da8fcd 100644
--- a/synapse/rest/room.py
+++ b/synapse/rest/room.py
@@ -249,7 +249,7 @@ class FeedbackRestServlet(RestServlet):
     @defer.inlineCallbacks
     def on_GET(self, request, room_id, msg_sender_id, msg_id, fb_sender_id,
                feedback_type):
-        user = yield (self.auth.get_user_by_req(request))
+        yield (self.auth.get_user_by_req(request))
 
         # TODO (erikj): Implement this?
         raise NotImplementedError("Getting feedback is not supported")