pld-builder.new: PLD_Builder/request.py Id fix.

arekm arekm at pld-linux.org
Tue Jan 20 09:31:55 CET 2009


Author: arekm                        Date: Tue Jan 20 08:31:55 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Id fix.

---- Files affected:
pld-builder.new/PLD_Builder:
   request.py (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/request.py
diff -u pld-builder.new/PLD_Builder/request.py:1.47 pld-builder.new/PLD_Builder/request.py:1.48
--- pld-builder.new/PLD_Builder/request.py:1.47	Tue Jan 20 09:29:47 2009
+++ pld-builder.new/PLD_Builder/request.py	Tue Jan 20 09:31:50 2009
@@ -214,13 +214,13 @@
                 else:
                     bl_name = self.spec[:len(self.spec)-5]
                 lin_ar = b.replace('noauto-','')
-                path = "/%s/%s/%s,%s.bz2" % (lin_ar.replace('-','/'), s, bl_name, b_id)
+                path = "/%s/%s/%s,%s.bz2" % (lin_ar.replace('-','/'), s, bl_name, self.b_id)
                 is_ok = 0
                 if s == "OK":
                     is_ok = 1
                 bld = lin_ar.split('-')
                 link_pre = "<a href=\"http://buildlogs.pld-linux.org/index.php?dist=%s&arch=%s&ok=%d&name=%s&id=%s\">" \
-                     % (bld[0], bld[1], is_ok, bl_name, b_id)
+                     % (bld[0], bld[1], is_ok, bl_name, self.b_id)
                 link_post = "</a>"
             builders.append(link_pre + ("<font color='%s'><b>%s:%s</b></font>" %
                                         (c, b, s)) + link_post)
================================================================

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



More information about the pld-cvs-commit mailing list