You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/04/02 15:38:35 UTC

svn commit: r1670913 - /steve/trunk/pysteve/lib/plugins/stv.py

Author: humbedooh
Date: Thu Apr  2 13:38:34 2015
New Revision: 1670913

URL: http://svn.apache.org/r1670913
Log:
try shuffle - alphabetical ordering should not play into this.

Modified:
    steve/trunk/pysteve/lib/plugins/stv.py

Modified: steve/trunk/pysteve/lib/plugins/stv.py
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/lib/plugins/stv.py?rev=1670913&r1=1670912&r2=1670913&view=diff
==============================================================================
--- steve/trunk/pysteve/lib/plugins/stv.py (original)
+++ steve/trunk/pysteve/lib/plugins/stv.py Thu Apr  2 13:38:34 2015
@@ -289,6 +289,8 @@ def exclude_lowest(candidates):
   which = None
   used_rand = False
 
+  random.shuffle(candidates)
+  
   for c in candidates:
     if c.status == HOPEFUL or c.status == ALMOST:
       if c.ahead < ahead: