diff --git a/tests/test_zfsautobackup.py b/tests/test_zfsautobackup.py index 8b33839..5c25ae1 100644 --- a/tests/test_zfsautobackup.py +++ b/tests/test_zfsautobackup.py @@ -896,7 +896,7 @@ test_target1/test_source2/fs2/sub@test-20101111000003 n=ZfsNode("test",l) d=ZfsDataset(n,"test_source1@test") - sp=d.send_pipe([], prev_snapshot=None, resume_token=None, show_progress=True, raw=False) + sp=d.send_pipe([], prev_snapshot=None, resume_token=None, show_progress=True, raw=False, output_pipes=[]) with OutputIO() as buf: diff --git a/zfs_autobackup/ZfsDataset.py b/zfs_autobackup/ZfsDataset.py index 5e2525a..de990bd 100644 --- a/zfs_autobackup/ZfsDataset.py +++ b/zfs_autobackup/ZfsDataset.py @@ -494,13 +494,14 @@ class ZfsDataset: return self.from_names(names[1:]) - def send_pipe(self, features, prev_snapshot, resume_token, show_progress, raw): + def send_pipe(self, features, prev_snapshot, resume_token, show_progress, raw, output_pipes): """returns a pipe with zfs send output for this snapshot resume_token: resume sending from this token. (in that case we don't need to know snapshot names) Args: + :type output_pipes: list of CmdPipe :type features: list of str :type prev_snapshot: ZfsDataset :type resume_token: str