summaryrefslogtreecommitdiff
path: root/alot/utils
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2016-11-30 02:30:44 -0500
committerDylan Baker <dylan@pnwbakers.com>2017-08-14 09:30:34 -0700
commitb0e2f322aa571a5e1999c069779f589e282a566c (patch)
treed5b905ff596a045ef4c8e5c9540772218b026230 /alot/utils
parentc377ee5bd6e2b64be8bbdd5df72ac3ca50373134 (diff)
convert from pygpgme to the python "gpg" module
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
Diffstat (limited to 'alot/utils')
-rw-r--r--alot/utils/configobj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/utils/configobj.py b/alot/utils/configobj.py
index aba61c3d..5e04409a 100644
--- a/alot/utils/configobj.py
+++ b/alot/utils/configobj.py
@@ -136,7 +136,7 @@ def force_list(value, min=None, max=None):
def gpg_key(value):
"""
test if value points to a known gpg key
- and return that key as :class:`pyme.pygpgme._gpgme_key`.
+ and return that key as a gpg key object.
"""
try:
return crypto.get_key(value)