From 901a075a38e02d28b222385b68a9c6551ca75642 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 18 Sep 2021 11:51:54 +0530 Subject: [PATCH] ... --- kittens/transfer/librsync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kittens/transfer/librsync.py b/kittens/transfer/librsync.py index 958e469a7..ad72693c0 100644 --- a/kittens/transfer/librsync.py +++ b/kittens/transfer/librsync.py @@ -5,14 +5,14 @@ import os from typing import Iterator -from .rsync import IO_BUFFER_SIZE, begin_signature, iter_job +from .rsync import IO_BUFFER_SIZE, begin_create_signature, iter_job def signature_of_file(path: str) -> Iterator[bytes]: with open(path, 'rb') as f: f.seek(0, os.SEEK_END) fsz = f.tell() - job = begin_signature(fsz) + job = begin_create_signature(fsz) f.seek(0) finished = False while not finished: