pld-builder.new: PLD_Builder/upgrade.py Loguj stdout/stderr.
arekm
arekm at pld-linux.org
Wed Jun 7 18:53:24 CEST 2006
Author: arekm Date: Wed Jun 7 16:53:24 2006 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
Loguj stdout/stderr.
---- Files affected:
pld-builder.new/PLD_Builder:
upgrade.py (1.10 -> 1.11)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/upgrade.py
diff -u pld-builder.new/PLD_Builder/upgrade.py:1.10 pld-builder.new/PLD_Builder/upgrade.py:1.11
--- pld-builder.new/PLD_Builder/upgrade.py:1.10 Tue Nov 1 21:52:36 2005
+++ pld-builder.new/PLD_Builder/upgrade.py Wed Jun 7 18:53:19 2006
@@ -68,12 +68,10 @@
return False
b.log_line("upgrading packages")
logbuf = StringIO.StringIO()
- res = chroot.run("rpm -Fvh %s" % string.join(b.files), user = "root", logstdout = logbuf)
+ res = chroot.run("rpm -Fvh %s" % string.join(b.files), user = "root", logfile = b.logfile)
if res != 0:
b.log_line("package upgrade failed")
- b.log_line(logbuf.getvalue())
logbuf.close()
return False
- b.log_line(logbuf.getvalue())
logbuf.close()
return True
================================================================
---- CVS-web:
http://cvs.pld-linux.org/pld-builder.new/PLD_Builder/upgrade.py?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list