# 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:
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())