diff options
Diffstat (limited to 'modules/zfssnap/zfssnap.py')
-rw-r--r-- | modules/zfssnap/zfssnap.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
55 | def prune(config, dry_run, keep_newest): | 55 | def prune(config, dry_run, keep_newest): |
56 | items = defaultdict(list) | 56 | items = defaultdict(list) |
57 | 57 | ||
58 | Snap = namedtuple(Snap, ['name', 'creation']) | 58 | Snap = namedtuple('Snap', ['name', 'creation']) |
59 | args = ['zfs', 'get', '-H', '-p', '-o', 'name,value', '-t', 'snapshot', 'creation'] | 59 | args = ['zfs', 'get', '-H', '-p', '-o', 'name,value', '-t', 'snapshot', 'creation'] |
60 | _log_cmd(*args) | 60 | _log_cmd(*args) |
61 | with subprocess.Popen(args, stdout=subprocess.PIPE) as proc: | 61 | with subprocess.Popen(args, stdout=subprocess.PIPE) as proc: |