mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Remove spurious self.size
This commit is contained in:
parent
a30364c1f9
commit
c046630c33
@ -140,7 +140,6 @@ class LruCache(object):
|
|||||||
list_root[NEXT] = list_root
|
list_root[NEXT] = list_root
|
||||||
list_root[PREV] = list_root
|
list_root[PREV] = list_root
|
||||||
cache.clear()
|
cache.clear()
|
||||||
self.size = 0
|
|
||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
def cache_len():
|
def cache_len():
|
||||||
|
Loading…
Reference in New Issue
Block a user