Merge lp:~abentley/launchpad/invalid-sig into lp:launchpad
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~abentley/launchpad/invalid-sig |
Merge into: | lp:launchpad |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~abentley/launchpad/invalid-sig |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+9667@code.launchpad.net |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
Stop handling InvalidSignature as an OOPS, instead handle as user error.
== Proposed fix ==
Implement a new _handle_user_error method, and use it.
== Pre-implementation notes ==
None
== Implementation details ==
Until now, handleIncoming has only had doctests, not unittests.
== Tests == signature
bin/test test_incoming -t test_invalid_
== Demo and Q/A ==
Send a message with an invalid signature. The resulting error message
should explain what the problem was.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ mail/incoming. py /launchpad/ mail/tests/ test_incoming. py enigmail. mozdev. org
lib/canonical
lib/canonical
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkp 4np4ACgkQ0F+ nu1YWqI3JLwCfQv I5Hd/gM/ FTz7a7I5yHrDFn 7r+HQ6ZBQuVRMFk tEpJ
J54AmgLOpZ1v+
=pIUT
-----END PGP SIGNATURE-----