add: todos
This commit is contained in:
@@ -334,6 +334,7 @@ class Pool:
|
|||||||
def name(self) -> str:
|
def name(self) -> str:
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
|
# TODO what's with this?
|
||||||
# def datasets_to_backup(self, do_not_backup: list[str]) -> list[Dataset]:
|
# 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]
|
# 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)
|
print(CANNOT_FIND_BACKUP_DRIVE)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
# TODO what's with this?
|
||||||
# def datasets_to_backup(self, do_not_backup: list[str]) -> list[Dataset]:
|
# def datasets_to_backup(self, do_not_backup: list[str]) -> list[Dataset]:
|
||||||
# def replace_pool_name(old_name: str):
|
# def replace_pool_name(old_name: str):
|
||||||
# "/".join([self._name, old_name.split("/", maxsplit=1)[1]])
|
# "/".join([self._name, old_name.split("/", maxsplit=1)[1]])
|
||||||
|
|||||||
Reference in New Issue
Block a user