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/25 13:33:26 UTC

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

Author: humbedooh
Date: Wed Mar 25 12:33:25 2015
New Revision: 1669104

URL: http://svn.apache.org/r1669104
Log:
don't use %02u, just use %u.

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=1669104&r1=1669103&r2=1669104&view=diff
==============================================================================
--- steve/trunk/pysteve/lib/plugins/stv.py (original)
+++ steve/trunk/pysteve/lib/plugins/stv.py Wed Mar 25 12:33:25 2015
@@ -182,7 +182,7 @@ constants.VOTE_TYPES += (
 for i in range(2,constants.MAX_NUM+1):
     constants.VOTE_TYPES += (
         {
-            'key': "stv%02u" % i,
+            'key': "stv%u" % i,
             'description': "Single Transferable Vote with %u seats" % i,
             'category': 'stv',
             'validate_func': validateSTV,