]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- fix hash (when request is commnand)
authorspeedy <speedy@pld-linux.org>
Sun, 25 Jan 2004 20:23:52 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/request.py -> 1.25

PLD_Builder/request.py

index aa947d2792b5001899c99a4cd58d7c5542437d80..5950c9b3d94152ad79f9718913e6b0344084482e 100644 (file)
@@ -204,7 +204,11 @@ class Batch:
       link_pre = ""
       link_post = ""
       if bl_archs.has_key(b) and (s == "OK" or s == "FAIL") and len(self.spec) > 5:
-        path = "/%s/%s/%s.bz2" % (b.replace('-','/'), s, self.spec[:len(self.spec)-5])
+        if self.is_command():
+          bl_name = "command"
+        else:
+          bl_name = self.spec[:len(self.spec)-5]
+        path = "/%s/%s/%s.bz2" % (b.replace('-','/'), s, bl_name)
         is_ok = 0
         if s == "OK": is_ok = 1
         link_pre = "<!-- from %s --><a href=\"http://buildlogs.pld-linux.org/index.php?idx=%d&ok=%d&id=%s\">" \
This page took 0.03535 seconds and 4 git commands to generate.