diff --git a/zfs_backup.py b/zfs_backup.py index 24457c9..f7ed8fd 100755 --- a/zfs_backup.py +++ b/zfs_backup.py @@ -1,4 +1,5 @@ #!/usr/bin/python + # -*- coding: utf-8 -*- from __future__ import annotations @@ -710,7 +711,7 @@ class Dataset: @property def snapshots(self) -> list[Snapshot]: - """get qualified snapshot names that are direct children of the dataset""" + """get qualified snapshots that are direct children of the dataset""" return ZFS.get_snapshots(self) def replace_pool(self, name: str) -> Dataset: @@ -792,7 +793,7 @@ class CommandRunner: @staticmethod def _to_list(command: str | list[str]) -> list[str]: - """If the command is a str, return it as list. Otherwise return the command.""" + """If the command is a str, return it as list. Otherwise, return the command.""" if isinstance(command, str): return [command] return command