mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 18:27:01 +00:00
Fix typo
This commit is contained in:
parent
143a393750
commit
c791bf574b
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def do_purge(self, args):
|
|||
if args.monthly:
|
||||
keep += purge_split(archives, '%Y-%m', args.monthly, keep)
|
||||
if args.yearly:
|
||||
keep += purge_split(archives, '%Y', args.weekly, keep)
|
||||
keep += purge_split(archives, '%Y', args.yearly, keep)
|
||||
|
||||
keep.sort(key=attrgetter('ts'), reverse=True)
|
||||
to_delete = [a for a in archives if a not in keep]
|
||||
|
|
Loading…
Reference in a new issue