summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2016-11-11 15:08:24 +0000
committerKegan Dougal <kegan@matrix.org>2016-11-11 15:08:24 +0000
commitf6c48802f5d01cbbc5fbd9ac151b84a80a2e3ac3 (patch)
treeea02f4738f548ab96dee5f97b799e7763adca171 /synapse/rest/client/v1
parentFlake8 and fix whoopsie (diff)
downloadsynapse-f6c48802f5d01cbbc5fbd9ac151b84a80a2e3ac3.tar.xz
More flake8
Diffstat (limited to 'synapse/rest/client/v1')
-rw-r--r--synapse/rest/client/v1/room.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index a866615f71..7af4077721 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -633,7 +633,9 @@ class RoomMembershipRestServlet(ClientV1RestServlet):
         except KeyError:
             pass
 
-        res_deferred = ObservableDeferred(self.on_POST(request, room_id, membership_action, txn_id))
+        res_deferred = ObservableDeferred(
+            self.on_POST(request, room_id, membership_action, txn_id)
+        )
         self.txns.store_client_transaction(request, txn_id, res_deferred)
         response = yield res_deferred.observe()
         defer.returnValue(response)