summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 13:46:44 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 13:46:44 +0000
commit5d439b127ba34b951dfd09a7d3c684c2d50df702 (patch)
treee12a03f22cb0c6b5ca6b0d72f863b288b6a11612 /synapse/handlers
parentRemove useless comments (diff)
downloadsynapse-5d439b127ba34b951dfd09a7d3c684c2d50df702.tar.xz
PEP8
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 587fa308c8..e909af6bd8 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -521,6 +521,9 @@ class FederationHandler(BaseHandler):
 
     @log_function
     def _on_user_joined(self, user, room_id):
-        waiters = self.waiting_for_join_list.get((user.to_string(), room_id), [])
+        waiters = self.waiting_for_join_list.get(
+            (user.to_string(), room_id),
+            []
+        )
         while waiters:
             waiters.pop().callback(None)