diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-29 11:17:54 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-29 11:17:54 +0000 |
commit | c046630c330b5abc4403f15afa2ffb13b7b8aa08 (patch) | |
tree | 45b0a56e6408fa462c11ded040a55a1b1b51e9e5 /synapse/util/caches | |
parent | Correctly bookkeep the size of TreeCache (diff) | |
download | synapse-c046630c330b5abc4403f15afa2ffb13b7b8aa08.tar.xz |
Remove spurious self.size
Diffstat (limited to '')
-rw-r--r-- | synapse/util/caches/lrucache.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/util/caches/lrucache.py b/synapse/util/caches/lrucache.py index ca9ffdf1b4..f7423f2fab 100644 --- a/synapse/util/caches/lrucache.py +++ b/synapse/util/caches/lrucache.py @@ -140,7 +140,6 @@ class LruCache(object): list_root[NEXT] = list_root list_root[PREV] = list_root cache.clear() - self.size = 0 @synchronized def cache_len(): |