diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-11 17:19:17 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-11 17:19:17 +0000 |
commit | 59a5f012ccaef5c255014efdbbb800ecfb73a2b7 (patch) | |
tree | 9576e6daeddaff614400f3b3e5afa78d00ad7dcd /synapse/storage/registration.py | |
parent | Add a description to storage layer's _execute_and_decode() (diff) | |
download | synapse-59a5f012ccaef5c255014efdbbb800ecfb73a2b7.tar.xz |
Also give _execute() a description
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r-- | synapse/storage/registration.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index 029b07cc66..adc8fc0794 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -88,8 +88,7 @@ class RegistrationStore(SQLBaseStore): query = ("SELECT users.name, users.password_hash FROM users" " WHERE users.name = ?") return self._execute( - self.cursor_to_dict, - query, user_id + "get_user_by_id", self.cursor_to_dict, query, user_id ) def get_user_by_token(self, token): |