diff options
author | Erik Johnston <erik@matrix.org> | 2017-06-09 16:40:52 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-06-09 16:40:52 +0100 |
commit | 80609743440467a69c4bdcd111c60d84f617d6c4 (patch) | |
tree | 423ac506015b9c985a9a9d934463db629fbd829e /synapse/storage/state.py | |
parent | Comments (diff) | |
download | synapse-80609743440467a69c4bdcd111c60d84f617d6c4.tar.xz |
Fix replication
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index 24503cd5aa..d1e679719b 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -37,7 +37,7 @@ class _GetStateGroupDelta(namedtuple("_GetStateGroupDelta", ("prev_group", "delt __slots__ = [] def __len__(self): - return len(self.delta_ids) if self.delta_ids else None + return len(self.delta_ids) if self.delta_ids else 0 class StateStore(SQLBaseStore): |