diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-10 13:46:44 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-10 13:46:44 +0000 |
commit | 5d439b127ba34b951dfd09a7d3c684c2d50df702 (patch) | |
tree | e12a03f22cb0c6b5ca6b0d72f863b288b6a11612 /synapse/handlers | |
parent | Remove useless comments (diff) | |
download | synapse-5d439b127ba34b951dfd09a7d3c684c2d50df702.tar.xz |
PEP8
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 5 |
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) |