[Buildbot-commits] [Buildbot] #1059: Console view crashes when category starts with a number (or has a dot?)
Buildbot
buildbot-devel at lists.sourceforge.net
Mon Nov 15 20:14:35 UTC 2010
#1059: Console view crashes when category starts with a number (or has a dot?)
-------------------+--------------------------------------------------------
Reporter: pitrou | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.2 | Keywords: web
-------------------+--------------------------------------------------------
Comment(by pitrou):
And of course the fix is trivial:
{{{
--- console-orig.py 2010-11-15 20:46:48.000000000 +0100
+++ console.py 2010-11-15 20:50:02.000000000 +0100
@@ -353,7 +353,8 @@
# way. If the master owner wants to display the categories
in a
# given order, he/she can prepend a number to it. This number
won't
# be shown.
- c["name"] = category.lstrip('0123456789')
+ #c["name"] = category.lstrip('0123456789')
+ c["name"] = category
# To be able to align the table correctly, we need to know
# what percentage of space this category will be taking. This
is
}}}
--
Ticket URL: <http://buildbot.net/trac/ticket/1059#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list