[pypy-commit] buildbot default: A random ordering change attempt.

arigo noreply at buildbot.pypy.org
Mon Oct 8 11:12:38 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r705:b51c79475fcb
Date: 2012-10-08 11:12 +0200
http://bitbucket.org/pypy/buildbot/changeset/b51c79475fcb/

Log:	A random ordering change attempt.

diff --git a/bot2/pypybuildbot/summary.py b/bot2/pypybuildbot/summary.py
--- a/bot2/pypybuildbot/summary.py
+++ b/bot2/pypybuildbot/summary.py
@@ -804,6 +804,8 @@
                 branch_key = (len(self.branch_order_prefixes)+1, branch)
         for i, catprefix in enumerate(self.categories):
             if category.startswith(catprefix):
+                # kill '-' to make 'linux32' sort before 'linux-armel'
+                category = category.replace('-', '')
                 break
         else:
             i = len(self.categories)


More information about the pypy-commit mailing list