add: todos

This commit is contained in:
timeshifter
2021-12-02 14:11:54 +01:00
parent a855c12583
commit cc2613771c
+2
View File
@@ -334,6 +334,7 @@ class Pool:
def name(self) -> str:
return self._name
# TODO what's with this?
# def datasets_to_backup(self, do_not_backup: list[str]) -> list[Dataset]:
# return [d for d in self.datasets if d.qualified_name not in do_not_backup]
@@ -382,6 +383,7 @@ class ExternalPool(Pool):
print(CANNOT_FIND_BACKUP_DRIVE)
exit(1)
# TODO what's with this?
# def datasets_to_backup(self, do_not_backup: list[str]) -> list[Dataset]:
# def replace_pool_name(old_name: str):
# "/".join([self._name, old_name.split("/", maxsplit=1)[1]])