forked from MirrorHub/synapse
pep8
This commit is contained in:
parent
a32e876ef4
commit
6f4f7e4e22
1 changed files with 4 additions and 2 deletions
|
@ -106,8 +106,10 @@ class PusherPool:
|
||||||
user_id, not_access_token_id
|
user_id, not_access_token_id
|
||||||
)
|
)
|
||||||
for p in all:
|
for p in all:
|
||||||
if (p['user_name'] == user_id and
|
if (
|
||||||
p['access_token'] != not_access_token_id):
|
p['user_name'] == user_id and
|
||||||
|
p['access_token'] != not_access_token_id
|
||||||
|
):
|
||||||
logger.info(
|
logger.info(
|
||||||
"Removing pusher for app id %s, pushkey %s, user %s",
|
"Removing pusher for app id %s, pushkey %s, user %s",
|
||||||
p['app_id'], p['pushkey'], p['user_name']
|
p['app_id'], p['pushkey'], p['user_name']
|
||||||
|
|
Loading…
Reference in a new issue