]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
raise error msg
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 15 Jul 2009 12:09:44 +0000 (12:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/rpm_builder.py -> 1.83

PLD_Builder/rpm_builder.py

index 114fb1d651172df9699b1c3e0f29e939508e666b..6aef17554b1501eb6c042008ea24b556de441573 100644 (file)
@@ -70,7 +70,7 @@ def fetch_src(r, b):
         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")
 
This page took 0.027253 seconds and 4 git commands to generate.