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 23:09:37 UTC

svn commit: r1669694 - /steve/trunk/pysteve/lib/election.py

Author: humbedooh
Date: Fri Mar 27 22:09:37 2015
New Revision: 1669694

URL: http://svn.apache.org/r1669694
Log:
buggo

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=1669694&r1=1669693&r2=1669694&view=diff
==============================================================================
--- steve/trunk/pysteve/lib/election.py (original)
+++ steve/trunk/pysteve/lib/election.py Fri Mar 27 22:09:37 2015
@@ -63,7 +63,7 @@ def exists(election, *issue):
         eid = election
         if issue and issue[0]:
             doc = "issues"
-            eid = hashlib.sha224(electionID + "/" + issueID).hexdigest()
+            eid = hashlib.sha224(election + "/" + issue[0]).hexdigest()
         try:
             res = es.get(index="steve", doc_type=doc, id=eid)
             if res: