transfer: make sure items with chunks have precomputed size

This commit is contained in:
Thomas Waldmann 2022-05-03 17:13:37 +02:00
parent 98b7dc0bf5
commit ba1dbe6111
1 changed files with 1 additions and 0 deletions

View File

@ -348,6 +348,7 @@ class Archiver:
def upgrade_item(item):
"""upgrade item as needed, get rid of legacy crap"""
item._dict.pop('acl', None) # remove remnants of bug in attic <= 0.13
item.get_size(memorize=True) # if not already present: compute+remember size for items with chunks
return item
dry_run = args.dry_run