Skip to content

Conversation

@AMeng
Copy link
Collaborator

@AMeng AMeng commented Mar 15, 2015

The verify function is a bit confusing. Currently when a document's signature is invalid, a RuntimeError is raised. When a document has no signature, the function returns None. This changes the function to return False in both of those cases. Also:

  • PEP8 fixes
  • Removed commented-out code
  • Fixed Travis build

@mehcode
Copy link
Owner

mehcode commented Mar 15, 2015

You're awesome @AMeng -- feel free to commit directly to master unless you want another pair of 👀

mehcode added a commit that referenced this pull request Mar 15, 2015
Dont raise exceptions for bad signatures
@mehcode mehcode merged commit cb1b82d into mehcode:master Mar 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants