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

pedronis at codespeak.net pedronis at codespeak.net
Sun Jan 18 00:35:57 CET 2009


Author: pedronis
Date: Sun Jan 18 00:35:57 2009
New Revision: 61074

Modified:
   pypy/build/bot2/pypybuildbot/summary.py
Log:
fixes



Modified: pypy/build/bot2/pypybuildbot/summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/summary.py	(original)
+++ pypy/build/bot2/pypybuildbot/summary.py	Sun Jan 18 00:35:57 2009
@@ -289,12 +289,9 @@
     def start_cat_branch(self, cat_branch):
         category, branch = cat_branch
         branch = trunk_name(branch)
+        category = category_name(category)
 
-        if category is None:
-            cat_branch = ('-', branch)
-        self.cur_cat_branch = cat_branch
-
-        category, branch = cat_branch
+        cat_branch = self.cur_cat_branch = (category, branch)
 
         cat_anchor = html.a("{%s}" % category,
                             href="/summary?category=%s" % category,
@@ -501,6 +498,7 @@
 
 trunk_name = make_subst(None, "<trunk>")
 trunk_value = make_subst("<trunk>", None)
+category_name = make_subst(None, '-')
 nocat_value = make_subst("-", None)
 
 def safe_int(v):



More information about the Pypy-commit mailing list