summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-26 14:12:06 +0000
committerDavid Baker <dave@matrix.org>2015-03-26 14:12:06 +0000
commit6f4f7e4e22522255aca72dc2fe28a636adef481a (patch)
tree113cebf3cf12939a0fd618226ac7fef4d9d379b4 /synapse/push
parentDelete pushers when changing password (diff)
downloadsynapse-6f4f7e4e22522255aca72dc2fe28a636adef481a.tar.xz
pep8
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/pusherpool.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py
index 0fdd7ea786..041ce8f22a 100644
--- a/synapse/push/pusherpool.py
+++ b/synapse/push/pusherpool.py
@@ -106,8 +106,10 @@ class PusherPool:
             user_id, not_access_token_id
         )
         for p in all:
-            if (p['user_name'] == user_id and
-                        p['access_token'] != not_access_token_id):
+            if (
+                p['user_name'] == user_id and
+                p['access_token'] != not_access_token_id
+            ):
                 logger.info(
                     "Removing pusher for app id %s, pushkey %s, user %s",
                     p['app_id'], p['pushkey'], p['user_name']