pld-builder.new: PLD_Builder/rpm_builder.py - fixes

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


Author: arekm                        Date: Wed Jul 15 12:41:14 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- fixes

---- Files affected:
pld-builder.new/PLD_Builder:
   rpm_builder.py (1.88 -> 1.89) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.88 pld-builder.new/PLD_Builder/rpm_builder.py:1.89
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.88	Wed Jul 15 14:38:10 2009
+++ pld-builder.new/PLD_Builder/rpm_builder.py	Wed Jul 15 14:41:09 2009
@@ -51,7 +51,7 @@
     ret = q.requests[0]
     return ret
 
-def check_skip_build(r):
+def check_skip_build(r, b):
     src_url = config.control_url + "/srpms/" + r.id + "/skipme"
     good  = True
     b.log_line("checking if we should skip the build")
@@ -127,7 +127,7 @@
     status.push("building %s" % b.spec)
     b.log_line("request from: %s" % r.requester)
 
-    if check_skip_build(r):
+    if check_skip_build(r, b):
         b.log_line("build skipped due to src builder request")
         res = "SKIP_REQUESTED"
         return res
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/rpm_builder.py?r1=1.88&r2=1.89&f=u



More information about the pld-cvs-commit mailing list