Also give _execute() a description

This commit is contained in:
Paul "LeoNerd" Evans 2015-03-11 17:19:17 +00:00
parent 099e4b88d8
commit 59a5f012cc
6 changed files with 10 additions and 12 deletions

View file

@ -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):