pld-builder.new: PLD_Builder/rpm_builder.py raise IOError

arekm arekm at pld-linux.org
Wed Jul 15 14:08:53 CEST 2009


Author: arekm                        Date: Wed Jul 15 12:08:53 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
raise IOError

---- Files affected:
pld-builder.new/PLD_Builder:
   rpm_builder.py (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.81 pld-builder.new/PLD_Builder/rpm_builder.py:1.82
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.81	Wed Jul 15 14:00:05 2009
+++ pld-builder.new/PLD_Builder/rpm_builder.py	Wed Jul 15 14:08:47 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
+            raise IOError
 
     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.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list