[Buildbot-commits] buildbot/buildbot/status/web baseweb.py, 1.20, 1.21

Brian Warner warner at users.sourceforge.net
Wed Sep 26 09:57:32 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32237/buildbot/status/web

Modified Files:
	baseweb.py 
Log Message:
[project @ baseweb.py: fix a URL problem with the build links]

Original author: warner at lothar.com
Date: 2007-09-26 09:56:51+00:00

Index: baseweb.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/baseweb.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- baseweb.py	26 Sep 2007 06:32:24 -0000	1.20
+++ baseweb.py	26 Sep 2007 09:57:30 -0000	1.21
@@ -212,10 +212,10 @@
             data += "<td>%s</td>\n" % html.escape(bn)
             b = builder.getLastFinishedBuild()
             if b:
-                url = "%s/builders/%s/builds/%d" % \
-                      (self.path_to_root(req),
-                       urllib.quote(bn, safe=''),
-                       b.getNumber())
+                url = (self.path_to_root(req) +
+                       "builders/" +
+                       urllib.quote(bn, safe='') +
+                       "/builds/%d" % b.getNumber())
                 try:
                     label = b.getProperty("got_revision")
                 except KeyError:





More information about the Commits mailing list