Add missing yield

This commit is contained in:
Erik Johnston 2015-04-15 16:25:07 +01:00
parent ed26e4012b
commit 6e91f14d09
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class PusherStore(SQLBaseStore):
app_display_name, device_display_name, app_display_name, device_display_name,
pushkey, pushkey_ts, lang, data): pushkey, pushkey_ts, lang, data):
try: try:
next_id = self._pushers_id_gen.get_next() next_id = yield self._pushers_id_gen.get_next()
yield self._simple_upsert( yield self._simple_upsert(
PushersTable.table_name, PushersTable.table_name,
dict( dict(