summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-19 18:02:19 +0100
committerErik Johnston <erik@matrix.org>2016-08-19 18:23:44 +0100
commit37adde32dce5b51d2d273525f89a6a494dd00bb3 (patch)
tree062bc1c11b63f211dbd7c4cf150084f9e8e4c4d3 /synapse/storage/events.py
parentUpdate keyring Measure (diff)
downloadsynapse-37adde32dce5b51d2d273525f89a6a494dd00bb3.tar.xz
Move defer.returnValue out of Measure
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index aa23fc00f5..97aef25321 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -1183,7 +1183,7 @@ class EventsStore(SQLBaseStore):
 
             self._get_event_cache.prefill((original_ev.event_id,), cache_entry)
 
-            defer.returnValue(cache_entry)
+        defer.returnValue(cache_entry)
 
     @defer.inlineCallbacks
     def count_daily_messages(self):