pld-builder.new: PLD_Builder/request.py - more complete noauto- pr...
ankry
ankry at pld-linux.org
Thu Nov 24 15:10:12 CET 2005
Author: ankry Date: Thu Nov 24 14:10:12 2005 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- more complete noauto- prefix fix
---- Files affected:
pld-builder.new/PLD_Builder:
request.py (1.35 -> 1.36)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/request.py
diff -u pld-builder.new/PLD_Builder/request.py:1.35 pld-builder.new/PLD_Builder/request.py:1.36
--- pld-builder.new/PLD_Builder/request.py:1.35 Wed Nov 23 19:15:31 2005
+++ pld-builder.new/PLD_Builder/request.py Thu Nov 24 15:10:07 2005
@@ -206,14 +206,12 @@
bl_name = "command"
else:
bl_name = self.spec[:len(self.spec)-5]
- path = "/%s/%s/%s.bz2" % (b.replace('-','/'), s, bl_name)
+ lin_ar = b.replace('noauto-','')
+ path = "/%s/%s/%s.bz2" % (lin_ar.replace('-','/'), s, bl_name)
is_ok = 0
if s == "OK":
is_ok = 1
- bld = b.split('-')
- if bld[0] == "noauto":
- bld[0] = bld[1]
- bld[1] = bld[2]
+ bld = lin_ar.split('-')
link_pre = "<a href=\"http://buildlogs.pld-linux.org/index.php?dist=%s&arch=%s&ok=%d&id=%s\">" \
% (bld[0], bld[1], is_ok, binascii.b2a_hex(md5.new(path).digest()))
link_post = "</a>"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/pld-builder.new/PLD_Builder/request.py?r1=1.35&r2=1.36&f=u
More information about the pld-cvs-commit
mailing list