summaryrefslogtreecommitdiff
path: root/alot/errors.py
Commit message (Collapse)AuthorAge
* remove old new-style classes syntaxPatrick Totzke2019-05-27
| | | | | | Python3 only supports "new-style" classes (those extending object), and we don't need to explicitly inherit from this root class any more. See http://pylint-messages.wikidot.com/messages:c1001
* Replace Exception.message with str(Exception)Dylan Baker2017-08-19
| | | | | | In python3 Exception doesn't have a message attribute, the only way to get the string output is to call str() on the Exception. This also works in python 2.7, so go ahead and make that change.
* convert from pygpgme to the python "gpg" moduleDaniel Kahn Gillmor2017-08-14
| | | | | | | | | | | | | | | This converts from the now abandoned pygpgme project for wrapping gpgme, to the upstream gpgme python bindings (which are descended from the pyme project, before they became official). Largely this change should not be user visible, but there are a couple cases where the new bindings provide slightly more detailed error messages, and alot directly presents those messages to users. This patch has been significantly revised and updated by Dylan Baker, but was originally authored by Daniel Kahn Gillmor. Fixes #1069
* Turn alot.errors.GPGCode into a new style classLucas Hoffmann2016-12-14
|
* Spotted a typoBenjamin2013-07-10
|
* introduce CompletionErrorsPatrick Totzke2013-07-07
| | | | | and use them to handle AddressbookError exceptions raised by addressbook.lookup
* Properly call the constructor of the super classJustus Winter2013-06-16
| | | | | | | The previous statement had no effect. The super classes constructor sets the .message attribute, so it is safe to drop that statement. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* pep8/pyflakes fixesPatrick Totzke2013-03-16
|
* add error codesJohannes Kulick2013-02-19
| | | | | to avoid import ui stuff to crypto.py I added error codes to the GPGProblem Exceptions. This way I can process them later, depending on the error code
* pep8 and pyflakes fixesPatrick Totzke2012-07-21
|
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* move alot.db.errors GPGProblem to alot.errorsPatrick Totzke2012-05-13
| | | | | to prevent circular imports and for consistency: This Exception is not related to the database abstraction layer.
* group settings into a submodulePatrick Totzke2012-03-11
|
* move read_config to helper; ConfigError to errorsPatrick Totzke2012-02-25
this refactors settings.py to make it more modular: errors.py will contain all exception classes, read_config is moved to helper to reuse in elsewhere