Erroneous use of strip() can cause hasVoted to return False on issues that have been voted on

As the intent seems to be removing the .json ending from the issue ID, let's be strict about it and instead remove the last five chars if they are `.json`. Otherwise, issue IDs that do not conform to hexadecimals will have their j, s, o, and n bits cut out.
1 file changed
tree: 00c1b09857f3f2d1c5c68ae761b1c516634e621f
  1. monitoring/
  2. pysteve/
  3. site/
  4. stv_background/
  5. v3/
  6. www/
  7. .asf.yaml
  8. .gitignore
  9. doap_steve.rdf
  10. LICENSE
  11. NOTICE
  12. pelicanconf.yaml
  13. README.md
  14. requirements.txt
  15. setup.py
  16. steve_logo.psd
  17. stv9_template.txt
  18. whatif.py
  19. whatif.rb
README.md

Welcome to Apache Steve http://steve.apache.org/

Apache Steve is software to conduct a vote using the STV (Single Transferrable Vote) and other voting algorithms. The tool grew out of the voting system used to elect the Apache Software Foundation Board of Directors.

Read more about STV at http://en.wikipedia.org/wiki/Single_transferable_vote

Getting Started

Getting Started documentation can be found at: http://steve.apache.org/demo.html Otherwise, come to the #steve channel on the Slack workspace at the-asf.slack.com, and we'd be glad to help you.

Documentation

Documentation may be found at http://steve.apache.org/documentation.html

Contributions to the documentation are very welcome.

Mailing Lists

Discussion about Steve takes place on the following mailing lists:

dev@steve.apache.org    - About using Steve and developing Steve

Notification on all code changes are sent to the following mailing list:

commits@steve.apache.org

The mailing lists are open to anyone and publicly archived.

You can subscribe the mailing lists by sending a message to -subscribe@steve.apache.org (for example dev-subscribe@steve...). To unsubscribe, send a message to -unsubscribe@steve.apache.org. For more instructions, send a message to -help@steve.apache.org.

Additional mailing list details may be found at http://steve.apache.org/support.html

Issue Tracker

If you encounter errors in Steve or want to suggest an improvement or a new feature, please visit the Steve issue tracker at https://issues.apache.org/jira/browse/STEVE

Implemented changes

Implemented changes can be found at: https://github.apache.org/apache/steve/