From 6e91f14d09cf64100dc8fecc83c333f59fe8e77a Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 15 Apr 2015 16:25:07 +0100 Subject: Add missing yield --- synapse/storage/pusher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py index e4135ba922..80c3ba154f 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py @@ -99,7 +99,7 @@ class PusherStore(SQLBaseStore): app_display_name, device_display_name, pushkey, pushkey_ts, lang, data): try: - next_id = self._pushers_id_gen.get_next() + next_id = yield self._pushers_id_gen.get_next() yield self._simple_upsert( PushersTable.table_name, dict( -- cgit 1.4.1