[pypy-svn] r70056 - pypy/build/bot2/pypybuildbot

arigo at codespeak.net arigo at codespeak.net
Thu Dec 10 19:19:07 CET 2009


Author: arigo
Date: Thu Dec 10 19:19:07 2009
New Revision: 70056

Modified:
   pypy/build/bot2/pypybuildbot/summary.py
Log:
Change the target of the link behind the 2nd part of the titles.

E.g. in "{own} branch/listcopyop":

   * clicking "{own}" shows all entries about "{own}"
     (as before);

   * clicking "branch/listcopyop" shows all entries about
     "branch/listcopyop" (new behavior).



Modified: pypy/build/bot2/pypybuildbot/summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/summary.py	(original)
+++ pypy/build/bot2/pypybuildbot/summary.py	Thu Dec 10 19:19:07 2009
@@ -342,15 +342,14 @@
         branch = trunk_name(branch)
         category = category_name(category)
 
-        cat_branch = self.cur_cat_branch = (category, branch)
+        self.cur_cat_branch = (category, branch)
 
         cat_anchor = html.a("{%s}" % category,
                             href="/summary?category=%s" % category,
                             class_="failSummary branch")
 
         branch_anchor = html.a(branch,
-                               href="/summary?category=%s&branch=%s" %
-                               cat_branch,
+                               href="/summary?branch=%s" % branch,
                                class_="failSummary branch")
         if fine:
             extra = html.img(alt=":-)", src="success.png")



More information about the Pypy-commit mailing list