diff options
author | David Baker <dave@matrix.org> | 2015-03-26 14:12:06 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-03-26 14:12:06 +0000 |
commit | 6f4f7e4e22522255aca72dc2fe28a636adef481a (patch) | |
tree | 113cebf3cf12939a0fd618226ac7fef4d9d379b4 /synapse/push | |
parent | Delete pushers when changing password (diff) | |
download | synapse-6f4f7e4e22522255aca72dc2fe28a636adef481a.tar.xz |
pep8
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/pusherpool.py | 6 |
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'] |