mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
Fix info subcommand bug
This commit is contained in:
parent
7245575fa2
commit
3fc4b69e97
1 changed files with 1 additions and 1 deletions
|
@ -203,6 +203,7 @@ def add(id):
|
|||
stats = Statistics()
|
||||
add(self.id)
|
||||
for id, chunk in izip_longest(self.metadata['items'], self.store.get_many(self.metadata['items'])):
|
||||
add(id)
|
||||
unpacker.feed(self.key.decrypt(id, chunk))
|
||||
for item in unpacker:
|
||||
try:
|
||||
|
@ -211,7 +212,6 @@ def add(id):
|
|||
stats.nfiles += 1
|
||||
except KeyError:
|
||||
pass
|
||||
add(id)
|
||||
cache.rollback()
|
||||
return stats
|
||||
|
||||
|
|
Loading…
Reference in a new issue