X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=TLD_Builder%2Fbuild.py;h=350e92bf266688b060778997d53ae14417012896;hb=c4d0706eae2dd9530000a8ad8b62188c417c2caa;hp=31689e74dad8bc7af77731b4f0cb0153ba9e5c5b;hpb=b999f53d4bf5d44586ecf028876e8bc20b5fd2ce;p=tld-builder.git diff --git a/TLD_Builder/build.py b/TLD_Builder/build.py index 31689e7..350e92b 100644 --- a/TLD_Builder/build.py +++ b/TLD_Builder/build.py @@ -36,7 +36,7 @@ def run_command(batch): # TODO: the append here by shell hack should be solved in python c = "(%s) >> %s 2>&1" % (command, batch.logfile) f = os.popen(c) - for l in f.xreadlines(): + for l in f: pass r = f.close() if r == None: @@ -117,4 +117,4 @@ def build_all(r, build_fnc): notify.add_batch(batch, "SKIP") buildlogs.flush() - chroot.run("rm -f %s" % string.join(r.chroot_files)) + chroot.run("rm -f %s" % ' '.join(r.chroot_files))