From 581cefb68323828cb536b5584bf3859895dbba27 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 19 Feb 2022 18:30:25 +0100 Subject: zfssnap: ... --- modules/zfssnap/zfssnap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index 9a536258..597b7f04 100644 --- a/modules/zfssnap/zfssnap.py +++ b/modules/zfssnap/zfssnap.py @@ -55,7 +55,7 @@ def _get_items(): def prune(config, dry_run, keep_newest): items = defaultdict(list) - Snap = namedtuple(Snap, ['name', 'creation']) + Snap = namedtuple('Snap', ['name', 'creation']) args = ['zfs', 'get', '-H', '-p', '-o', 'name,value', '-t', 'snapshot', 'creation'] _log_cmd(*args) with subprocess.Popen(args, stdout=subprocess.PIPE) as proc: -- cgit v1.2.3