summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-03-11 14:25:05 +0000
committerDavid Baker <dave@matrix.org>2016-03-11 14:25:05 +0000
commit57c444b3ad9e69ae99fe694c0ef9a1961ec9366a (patch)
treea72ffb89cbd194241c82c2b46779bb6b29f21fda /synapse/storage/registration.py
parentFix cache invalidation so deleting access tokens (which we did when changing ... (diff)
downloadsynapse-57c444b3ad9e69ae99fe694c0ef9a1961ec9366a.tar.xz
Dear PyCharm, please indent sensibly for me. Thx.
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r--synapse/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index 5eef7ebcc7..d3d84c9b94 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -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: