From c791bf574b655cbb303c3c1800d9e2a169024f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Borgstr=C3=B6m?= Date: Tue, 16 Aug 2011 22:17:27 +0200 Subject: [PATCH] Fix typo --- darc/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darc/archiver.py b/darc/archiver.py index c41de1ace..9770da3df 100644 --- a/darc/archiver.py +++ b/darc/archiver.py @@ -249,7 +249,7 @@ class Archiver(object): 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]