Skip to content
Browse files

Changed ordering of states to fix visual bug that caused "unknown" te…

…st state to make the entire build box "unknown" too.
  • Loading branch information...
1 parent c3b5f80 commit ae219ada8ed2e79aed5eacebb115a5b6d8fc2001 Eric Smalling committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jenkins_radiator/radiator/models.py
View
2 jenkins_radiator/radiator/models.py
@@ -153,7 +153,7 @@ def testCases(self):
return tests
-status_order = ['FAILURE', 'UNSTABLE', 'BUILDING', 'ABORTED', 'UNKNOWN', 'SUCCESS' ]
+status_order = ['FAILURE', 'UNSTABLE', 'BUILDING', 'ABORTED', 'SUCCESS', 'UNKNOWN' ]
def compare_by_status(r1, r2):
return status_order.index(r1) - status_order.index(r2)

0 comments on commit ae219ad

Please sign in to comment.
Something went wrong with that request. Please try again.