pld-builder.new: PLD_Builder/rpm_builder.py raise error msg
arekm
arekm at pld-linux.org
Wed Jul 15 14:09:49 CEST 2009
Author: arekm Date: Wed Jul 15 12:09:49 2009 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
raise error msg
---- Files affected:
pld-builder.new/PLD_Builder:
rpm_builder.py (1.82 -> 1.83)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.82 pld-builder.new/PLD_Builder/rpm_builder.py:1.83
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.82 Wed Jul 15 14:08:47 2009
+++ pld-builder.new/PLD_Builder/rpm_builder.py Wed Jul 15 14:09:44 2009
@@ -70,7 +70,7 @@
http_code = f.getcode()
if http_code != 200:
b.log_line("unable to fetch file, http code: %d" % http_code)
- raise IOError
+ raise IOError, "unable to fetch file, http code: %d" % http_code
o = chroot.popen("cat > %s" % b.src_rpm, mode = "w")
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/rpm_builder.py?r1=1.82&r2=1.83&f=u
More information about the pld-cvs-commit
mailing list