add: todos

This commit is contained in:
timeshifter
2021-12-02 15:10:54 +01:00
parent 6f97a0e325
commit 20d5fe4282
+1
View File
@@ -272,6 +272,7 @@ class ZFS:
# -u File system that is associated with the received stream is not mounted. # -u File system that is associated with the received stream is not mounted.
if not isinstance(pool, Pool): if not isinstance(pool, Pool):
raise TypeError("Can only receive into pools.") raise TypeError("Can only receive into pools.")
# TODO use internal functions
check_output( check_output(
[config.ZFS, "receive", "-d", "-F", "-u", pool.name], [config.ZFS, "receive", "-d", "-F", "-u", pool.name],
stdin=stream.stdout, stdin=stream.stdout,