summary refs log tree commit diff
path: root/synapse/storage/pusher.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-15 16:25:07 +0100
committerErik Johnston <erik@matrix.org>2015-04-15 16:25:07 +0100
commit6e91f14d09cf64100dc8fecc83c333f59fe8e77a (patch)
tree2e7c0adc1a5e378f19537f71eca022ddaf9108f1 /synapse/storage/pusher.py
parentpushers table requires a unique id. (diff)
downloadsynapse-6e91f14d09cf64100dc8fecc83c333f59fe8e77a.tar.xz
Add missing yield
Diffstat (limited to '')
-rw-r--r--synapse/storage/pusher.py2
1 files changed, 1 insertions, 1 deletions
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(