Quellcode durchsuchen

Exclude deprecated "borg list --successful" flag from getting passed to Borg.

Dan Helfman vor 3 Jahren
Ursprung
Commit
b6893f6455
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      borgmatic/borg/list.py

+ 3 - 1
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('remote-path', remote_path)
         + make_flags('lock-wait', lock_wait)
         + 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))
             '::'.join((repository, list_arguments.archive))
             if list_arguments.archive
             if list_arguments.archive