From 3a220318725ae368fcb7ef4e6c307719f47167af Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 19 Feb 2022 18:41:03 +0100 Subject: zfssnap: ... --- modules/zfssnap/zfssnap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/zfssnap/zfssnap.py') diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index ef125703..c86cd701 100644 --- a/modules/zfssnap/zfssnap.py +++ b/modules/zfssnap/zfssnap.py @@ -74,7 +74,7 @@ def prune(config, dry_run, keep_newest): keep = set() kept_count = defaultdict(lambda: defaultdict(lambda: 0)) KeptBecause = namedtuple('KeptBecause', ['rule', 'ix', 'base', 'period']) - kept_because = OrderedDict(deque) + kept_because = OrderedDict() def keep_because(base, snap, rule, period=None): nonlocal KeptBecause, keep, kept_count, kept_because kept_count[rule][base] += 1 -- cgit v1.2.3