summary refs log tree commit diff
path: root/synapse/storage/pusher.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-03-11 17:19:17 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-03-11 17:19:17 +0000
commit59a5f012ccaef5c255014efdbbb800ecfb73a2b7 (patch)
tree9576e6daeddaff614400f3b3e5afa78d00ad7dcd /synapse/storage/pusher.py
parentAdd a description to storage layer's _execute_and_decode() (diff)
downloadsynapse-59a5f012ccaef5c255014efdbbb800ecfb73a2b7.tar.xz
Also give _execute() a description
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r--synapse/storage/pusher.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py
index 6622b4d18a..587dada68f 100644
--- a/synapse/storage/pusher.py
+++ b/synapse/storage/pusher.py
@@ -37,7 +37,8 @@ class PusherStore(SQLBaseStore):
         )
 
         rows = yield self._execute(
-            None, sql, app_id_and_pushkey[0], app_id_and_pushkey[1]
+            "get_pushers_by_app_id_and_pushkey", None, sql,
+            app_id_and_pushkey[0], app_id_and_pushkey[1]
         )
 
         ret = [
@@ -70,7 +71,7 @@ class PusherStore(SQLBaseStore):
             "FROM pushers"
         )
 
-        rows = yield self._execute(None, sql)
+        rows = yield self._execute("get_all_pushers", None, sql)
 
         ret = [
             {