summaryrefslogtreecommitdiff
path: root/modules/zfssnap
diff options
context:
space:
mode:
Diffstat (limited to 'modules/zfssnap')
-rw-r--r--modules/zfssnap/zfssnap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py
index e77f11f3..4e8a4475 100644
--- a/modules/zfssnap/zfssnap.py
+++ b/modules/zfssnap/zfssnap.py
@@ -73,7 +73,7 @@ def prune(config, dry_run, keep_newest):
73 reader = csv.reader(text_stdout, delimiter='\t', quoting=csv.QUOTE_NONE) 73 reader = csv.reader(text_stdout, delimiter='\t', quoting=csv.QUOTE_NONE)
74 Row = namedtuple('Row', ['name', 'timestamp']) 74 Row = namedtuple('Row', ['name', 'timestamp'])
75 for row in map(Row._make, reader): 75 for row in map(Row._make, reader):
76 if row.name is not in prunable_snapshots: 76 if row.name not in prunable_snapshots:
77 continue 77 continue
78 78
79 creation = datetime.fromtimestamp(int(row.timestamp), timezone.utc) 79 creation = datetime.fromtimestamp(int(row.timestamp), timezone.utc)