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/27 18:16:49 UTC
svn commit: r1669625 - /steve/trunk/pysteve/lib/election.py
Author: humbedooh
Date: Fri Mar 27 17:16:49 2015
New Revision: 1669625
URL: http://svn.apache.org/r1669625
Log:
one bug down, 999 to go.
Modified:
steve/trunk/pysteve/lib/election.py
Modified: steve/trunk/pysteve/lib/election.py
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/lib/election.py?rev=1669625&r1=1669624&r2=1669625&view=diff
==============================================================================
--- steve/trunk/pysteve/lib/election.py (original)
+++ steve/trunk/pysteve/lib/election.py Fri Mar 27 17:16:49 2015
@@ -189,7 +189,7 @@ def getVotesRaw(electionID, issueID):
if results > 0:
votes = {}
for entry in res['hits']['hits']:
- votes[entry['key']] = entry['_source']['data']
+ votes[entry['_source']['key']] = entry['_source']['data']
return votes
return {}