X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=TLD_Builder%2Fbqueue.py;h=e349c0ec0313a33872c19fa4e4519ade2f3eba84;hb=HEAD;hp=131b911e74037f176ac569d670094358e7326138;hpb=9ea122b00e3a99b16246e1e38576916a2e25c0aa;p=tld-builder.git diff --git a/TLD_Builder/bqueue.py b/TLD_Builder/bqueue.py index 131b911..e349c0e 100644 --- a/TLD_Builder/bqueue.py +++ b/TLD_Builder/bqueue.py @@ -45,14 +45,8 @@ class B_Queue: TLD builder queue - - - -
""" ) @@ -133,7 +127,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()