[Buildbot-commits] buildbot/buildbot/status/web grid.py,1.2,1.3

Brian Warner warner at users.sourceforge.net
Wed Jun 25 23:52:47 UTC 2008


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

Modified Files:
	grid.py 
Log Message:
[project @ #300:sort-grid.patch]
Sort the builders in the grid display

Original author: dustin at v.igoro.us
Date: 2008-06-13 20:01:41+00:00

Index: grid.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/grid.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- grid.py	22 May 2008 22:11:29 -0000	1.2
+++ grid.py	25 Jun 2008 23:52:45 -0000	1.3
@@ -179,7 +179,9 @@
             data += self.stamp_td(stamp)
         data += '</tr>\n'
 
-        for bn in status.getBuilderNames():
+        sortedBuilderNames = status.getBuilderNames()[:]
+        sortedBuilderNames.sort()
+        for bn in sortedBuilderNames:
             builds = [None] * len(stamps)
 
             builder = status.getBuilder(bn)





More information about the Commits mailing list