Oops, we do want to defer.return regardless of whether we are caching or not

This commit is contained in:
Erik Johnston 2015-02-10 11:03:16 +00:00
parent d19e2ed02f
commit 2b042ad67f

View File

@ -261,7 +261,7 @@ class StateHandler(object):
self._state_cache[frozenset(event_ids)] = cache self._state_cache[frozenset(event_ids)] = cache
defer.returnValue((name, state, prev_states)) defer.returnValue((name, state, prev_states))
state = {} state = {}
for group, g_state in state_groups.items(): for group, g_state in state_groups.items():