summary refs log tree commit diff
path: root/synapse/storage/account_data.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-28 17:29:24 +0000
committerErik Johnston <erik@matrix.org>2016-01-28 17:29:24 +0000
commit03b2c2577cbf51c80a42319689e1cb4903b8c4af (patch)
treecebafafbc8d5b2f10c8faab284983869d73c5575 /synapse/storage/account_data.py
parentInclude cache hits with has_entity_changed (diff)
downloadsynapse-03b2c2577cbf51c80a42319689e1cb4903b8c4af.tar.xz
Don't use defer.returnValue
Diffstat (limited to 'synapse/storage/account_data.py')
-rw-r--r--synapse/storage/account_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/account_data.py b/synapse/storage/account_data.py
index 62e49e1c0e..88404059e8 100644
--- a/synapse/storage/account_data.py
+++ b/synapse/storage/account_data.py
@@ -132,7 +132,7 @@ class AccountDataStore(SQLBaseStore):
             user_id, int(stream_id)
         )
         if not changed:
-            defer.returnValue(({}, {}))
+            return ({}, {})
 
         return self.runInteraction(
             "get_updated_account_data_for_user", get_updated_account_data_for_user_txn