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_set_password_hash(user_id, password_hash)
yield self.store.user_delete_access_tokens_except( 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( 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 @defer.inlineCallbacks

View file

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