mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
transfer: make sure items with chunks have precomputed size
This commit is contained in:
parent
98b7dc0bf5
commit
ba1dbe6111
1 changed files with 1 additions and 0 deletions
|
@ -348,6 +348,7 @@ def do_transfer(self, args, *,
|
|||
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 a new issue