forked from MirrorHub/synapse
Remove spurious self.size
This commit is contained in:
parent
a30364c1f9
commit
c046630c33
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue