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/03/22 23:16:53 UTC
svn commit: r1668494 - /steve/trunk/pysteve/www/cgi-bin/lib/election.py
Author: humbedooh
Date: Sun Mar 22 22:16:53 2015
New Revision: 1668494
URL: http://svn.apache.org/r1668494
Log:
fix debug msg
Modified:
steve/trunk/pysteve/www/cgi-bin/lib/election.py
Modified: steve/trunk/pysteve/www/cgi-bin/lib/election.py
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/cgi-bin/lib/election.py?rev=1668494&r1=1668493&r2=1668494&view=diff
==============================================================================
--- steve/trunk/pysteve/www/cgi-bin/lib/election.py (original)
+++ steve/trunk/pysteve/www/cgi-bin/lib/election.py Sun Mar 22 22:16:53 2015
@@ -172,8 +172,8 @@ def stv(candidates, votes, numseats):
if len(winners) >= numseats:
break
if points[c] >= quota and not c in winners:
- debug.append("WINNER: %s got elected in with %u votes! %u seats remain" % (c, points[c], numseats - len(winners)))
winners.append(c)
+ debug.append("WINNER: %s got elected in with %u votes! %u seats remain" % (c, points[c], numseats - len(winners)))
cc.replace(c, "")
mq += 1
#break