]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
raise IOError
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 15 Jul 2009 12:08:47 +0000 (12:08 +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.82

PLD_Builder/rpm_builder.py

index 0ca2d96ef0d907621afa286e66270fa1fa046051..114fb1d651172df9699b1c3e0f29e939508e666b 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
+            raise IOError
 
     o = chroot.popen("cat > %s" % b.src_rpm, mode = "w")
 
This page took 0.027509 seconds and 4 git commands to generate.