This commit is contained in:
David Baker 2015-03-26 14:12:06 +00:00
parent a32e876ef4
commit 6f4f7e4e22
1 changed files with 4 additions and 2 deletions

View File

@ -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']