X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fsplit-cmd.py;h=e016d1e8c897c266c0b6b8bc692585a4ea503f70;hb=eb65206d3d1eada4c7c291ee7433c3bfad350373;hp=756d1b566a3937c7db7e3b62d48b98529b18579a;hpb=84f4cf05c68f0fa3e594542520e9c71e459bfb66;p=bup.git diff --git a/cmd/split-cmd.py b/cmd/split-cmd.py index 756d1b5..e016d1e 100755 --- a/cmd/split-cmd.py +++ b/cmd/split-cmd.py @@ -130,9 +130,10 @@ if pack_writer: tree = pack_writer.new_tree(shalist) else: last = 0 - for (blob, bits) in hashsplit.hashsplit_iter(files, - keep_boundaries=opt.keep_boundaries, - progress=prog): + it = hashsplit.hashsplit_iter(files, + keep_boundaries=opt.keep_boundaries, + progress=prog) + for (blob, level) in it: hashsplit.total_split += len(blob) if opt.copy: sys.stdout.write(str(blob))