mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 23:19:24 -05:00
pep8
This commit is contained in:
parent
a32e876ef4
commit
6f4f7e4e22
@ -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 New Issue
Block a user