diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-29 11:29:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-29 11:29:14 +0000 |
commit | fb7299800feb0b8bc0f8429fc5b840abea0609d3 (patch) | |
tree | 43e323022265494a1b94417f7a9cf4c47091b83b /synapse/util/caches/treecache.py | |
parent | Remove spurious self.size (diff) | |
download | synapse-fb7299800feb0b8bc0f8429fc5b840abea0609d3.tar.xz |
Directly set self.value
Diffstat (limited to '')
-rw-r--r-- | synapse/util/caches/treecache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/treecache.py b/synapse/util/caches/treecache.py index 3331ea9eba..29d02f7e95 100644 --- a/synapse/util/caches/treecache.py +++ b/synapse/util/caches/treecache.py @@ -72,7 +72,7 @@ class _Entry(object): __slots__ = ["value"] def __init__(self, value): - object.__setattr__(self, "value", value) + self.value = value def _strip_and_count_entires(d): |