Fix duplicate-appearing log entries for "list" action.
This commit is contained in:
parent
ca0c79c93c
commit
61fb275896
1 changed files with 2 additions and 2 deletions
|
@ -669,8 +669,8 @@ def run_actions(
|
||||||
if not list_arguments.json: # pragma: nocover
|
if not list_arguments.json: # pragma: nocover
|
||||||
if list_arguments.find_paths:
|
if list_arguments.find_paths:
|
||||||
logger.warning('{}: Searching archives'.format(repository))
|
logger.warning('{}: Searching archives'.format(repository))
|
||||||
else:
|
elif not list_arguments.archive:
|
||||||
logger.warning('{}: Listing archive'.format(repository))
|
logger.warning('{}: Listing archives'.format(repository))
|
||||||
list_arguments.archive = borg_rlist.resolve_archive_name(
|
list_arguments.archive = borg_rlist.resolve_archive_name(
|
||||||
repository,
|
repository,
|
||||||
list_arguments.archive,
|
list_arguments.archive,
|
||||||
|
|
Loading…
Reference in a new issue