]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/build.py
- more python 3.x fixes
[tld-builder.git] / TLD_Builder / build.py
index 31689e74dad8bc7af77731b4f0cb0153ba9e5c5b..558541143227742a0f7c3fa91a3907ab508e77a9 100644 (file)
@@ -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" % r.chroot_files.join())