1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00

archive: delete unused Archive.list_archives

This commit is contained in:
Marian Beermann 2017-07-29 17:53:14 +02:00
parent c93dba0195
commit a88519d540

View file

@ -807,12 +807,6 @@ def chunk_decref(id, stats):
logger.warning('forced deletion succeeded, but the deleted archive was corrupted.')
logger.warning('borg check --repair is required to free all space.')
@staticmethod
def list_archives(repository, key, manifest, cache=None):
# expensive! see also Manifest.list_archive_infos.
for name in manifest.archives:
yield Archive(repository, key, manifest, name, cache=cache)
@staticmethod
def _open_rb(path):
try: