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
1 changed files with 0 additions and 6 deletions

View File

@ -807,12 +807,6 @@ Utilization of max. archive size: {csize_max:.0%}
logger.warning('forced deletion succeeded, but the deleted archive was corrupted.') logger.warning('forced deletion succeeded, but the deleted archive was corrupted.')
logger.warning('borg check --repair is required to free all space.') 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 @staticmethod
def _open_rb(path): def _open_rb(path):
try: try: