summary refs log tree commit diff
path: root/synapse/storage/pdu.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-12 13:54:13 +0100
committerErik Johnston <erik@matrix.org>2014-09-12 17:11:09 +0100
commitca1ae7cf9b4c75f677f453be1fb7d9a06c17194d (patch)
treee4aa730704a5b55603922e8406e71e0cd4bde27f /synapse/storage/pdu.py
parentClean data when user logs out (diff)
downloadsynapse-ca1ae7cf9b4c75f677f453be1fb7d9a06c17194d.tar.xz
Fix bug where we didn't return a tuple when expected.
Diffstat (limited to '')
-rw-r--r--synapse/storage/pdu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pdu.py b/synapse/storage/pdu.py
index 3cbce2d0a1..f780111b3b 100644
--- a/synapse/storage/pdu.py
+++ b/synapse/storage/pdu.py
@@ -516,7 +516,7 @@ class StatePduStore(SQLBaseStore):
 
         if not current:
             logger.debug("get_unresolved_state_tree No current state.")
-            return return_value
+            return (return_value, None)
 
         return_value.current_branch.append(current)