mirror of https://github.com/borgbackup/borg.git
archive: delete unused Archive.list_archives
This commit is contained in:
parent
c93dba0195
commit
a88519d540
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue