summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 16:29:32 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 16:29:32 +0000
commitaa4af94c69b8b1c263dacfce0358aaef97d3e323 (patch)
tree0e2f953c778ddc506d7526e4d19707f6f345c689
parentAdd descriptions (diff)
downloadsynapse-aa4af94c69b8b1c263dacfce0358aaef97d3e323.tar.xz
We return dicts now.
-rw-r--r--synapse/storage/event_push_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py
index aca3219206..2742e0c008 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -72,7 +72,7 @@ class EventPushActionsStore(SQLBaseStore):
             )
             results = txn.fetchall()
             if len(results) == 0:
-                return []
+                return {}
 
             stream_ordering = results[0][0]
             topological_ordering = results[0][1]