Skip to content

Commit ed9475d

Browse files
committed
Fix cache object reference
1 parent 29646a6 commit ed9475d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

attic/archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def calc_stats(self, cache):
209209
def add(id):
210210
count, size, csize = cache.chunks[id]
211211
stats.update(size, csize, count == 1)
212-
self.cache.chunks[id] = count - 1, size, csize
212+
cache.chunks[id] = count - 1, size, csize
213213
def add_file_chunks(chunks):
214214
for id, _, _ in chunks:
215215
add(id)

0 commit comments

Comments
 (0)