X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=TLD_Builder%2Fbqueue.py;h=f90de620a40bfe5e93074492ce90967ae6834f13;hb=a68953c88fba6e657febf9cb06273f44288f759c;hp=131b911e74037f176ac569d670094358e7326138;hpb=9ea122b00e3a99b16246e1e38576916a2e25c0aa;p=tld-builder.git diff --git a/TLD_Builder/bqueue.py b/TLD_Builder/bqueue.py index 131b911..f90de62 100644 --- a/TLD_Builder/bqueue.py +++ b/TLD_Builder/bqueue.py @@ -133,7 +133,7 @@ class B_Queue: sio.seek(0) (fdno, tmpname) = tempfile.mkstemp(dir=os.path.dirname(name)) f = os.fdopen(fdno, "w") - util.sendfile(sio, f) + shutil.copyfileobj(sio, f) f.flush() os.fsync(f.fileno()) f.close()