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 2016/03/27 19:54:09 UTC
svn commit: r1736794 - /steve/trunk/pysteve/lib/voter.py
Author: humbedooh
Date: Sun Mar 27 17:54:09 2016
New Revision: 1736794
URL: http://svn.apache.org/viewvc?rev=1736794&view=rev
Log:
only return ballot, not the hash here
Modified:
steve/trunk/pysteve/lib/voter.py
Modified: steve/trunk/pysteve/lib/voter.py
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/lib/voter.py?rev=1736794&r1=1736793&r2=1736794&view=diff
==============================================================================
--- steve/trunk/pysteve/lib/voter.py (original)
+++ steve/trunk/pysteve/lib/voter.py Sun Mar 27 17:54:09 2016
@@ -64,7 +64,7 @@ def regenerate(election, basedata, xhash
from lib import gateway
uid = gateway.uid()
backend.ballot_scrub(election, xhash)
- ballot = add(election, basedata, uid)
+ ballot, xhash = add(election, basedata, uid)
return {
'election': election,
'ballot': ballot