Dear PyCharm, please indent sensibly for me. Thx.

This commit is contained in:
David Baker 2016-03-11 14:25:05 +00:00
parent aa11db5f11
commit 57c444b3ad
2 changed files with 3 additions and 3 deletions

View File

@ -439,10 +439,10 @@ class AuthHandler(BaseHandler):
yield self.store.user_set_password_hash(user_id, password_hash)
yield self.store.user_delete_access_tokens_except(
user_id, except_access_token_ids
user_id, except_access_token_ids
)
yield self.hs.get_pusherpool().remove_pushers_by_user_except_access_tokens(
user_id, except_access_token_ids
user_id, except_access_token_ids
)
@defer.inlineCallbacks

View File

@ -212,7 +212,7 @@ class RegistrationStore(SQLBaseStore):
def f(txn):
txn.execute(
"SELECT id, token FROM access_tokens WHERE user_id = ? LIMIT 50",
(user_id,)
(user_id,)
)
rows = txn.fetchall()
for r in rows: