From b6893f64553d3b6400dd74b2f17445ffa8f417a2 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 2 Jun 2022 21:14:25 -0700 Subject: [PATCH] Exclude deprecated "borg list --successful" flag from getting passed to Borg. --- borgmatic/borg/list.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/borgmatic/borg/list.py b/borgmatic/borg/list.py index f6038a8ef..cf08e5050 100644 --- a/borgmatic/borg/list.py +++ b/borgmatic/borg/list.py @@ -62,7 +62,9 @@ def list_archives(repository, storage_config, list_arguments, local_path='borg', ) + make_flags('remote-path', remote_path) + make_flags('lock-wait', lock_wait) - + make_flags_from_arguments(list_arguments, excludes=('repository', 'archive', 'paths')) + + make_flags_from_arguments( + list_arguments, excludes=('repository', 'archive', 'successful', 'paths') + ) + ( '::'.join((repository, list_arguments.archive)) if list_arguments.archive