Author: Armin Rigo <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to