summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-03-02 09:53:00 +0000
committerKegan Dougal <kegan@matrix.org>2015-03-02 09:53:00 +0000
commitebc48306662cf8719a0ea64e2955bf8d5e037a8e (patch)
tree03f5abd35873684edb0e624c195d279de622b21c /synapse/storage/registration.py
parentPEP8 (diff)
downloadsynapse-ebc48306662cf8719a0ea64e2955bf8d5e037a8e.tar.xz
PR tweaks: set earlier on and use 'as json' for compat
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 7aff3dbd33..9c92575c7f 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -93,7 +93,7 @@ class RegistrationStore(SQLBaseStore):
         )
 
     def get_all_users(self):
-        query = ("SELECT users.name FROM users")
+        query = "SELECT users.name FROM users"
         return self._execute(
             self.cursor_to_dict,
             query