diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-10 11:03:16 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-10 11:03:16 +0000 |
commit | 2b042ad67fd16c43f3cfce472a8d1b31cff867da (patch) | |
tree | 8c6eec8f3e6a448f3d0a86a447d8d26f2ca71232 | |
parent | Move construction of object within if block (diff) | |
download | synapse-2b042ad67fd16c43f3cfce472a8d1b31cff867da.tar.xz |
Oops, we do want to defer.return regardless of whether we are caching or not
-rw-r--r-- | synapse/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state.py b/synapse/state.py index 2dea8f552a..31f503a1ee 100644 --- a/synapse/state.py +++ b/synapse/state.py @@ -261,7 +261,7 @@ class StateHandler(object): self._state_cache[frozenset(event_ids)] = cache - defer.returnValue((name, state, prev_states)) + defer.returnValue((name, state, prev_states)) state = {} for group, g_state in state_groups.items(): |