mirror of https://github.com/borgbackup/borg.git
transfer: make sure items with chunks have precomputed size
This commit is contained in:
parent
98b7dc0bf5
commit
ba1dbe6111
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue