diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-15 10:24:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-15 10:24:07 +0100 |
commit | f9e12f79ca48bc87b395537438eaa74fa6d96745 (patch) | |
tree | 219a713d9389cf21378de0a2ff5ef2f428ca2557 /synapse/storage/registration.py | |
parent | Correctly identify deadlocks (diff) | |
download | synapse-f9e12f79ca48bc87b395537438eaa74fa6d96745.tar.xz |
Add missing yield in storage func
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r-- | synapse/storage/registration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index 86fd2600fd..8a63fe4691 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -39,7 +39,7 @@ class RegistrationStore(SQLBaseStore): """ next_id = yield self._access_tokens_id_gen.get_next() - self._simple_insert( + yield self._simple_insert( "access_tokens", { "id": next_id, |