diff options
author | Ben McGinnes <[email protected]> | 2018-08-29 14:57:24 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-08-29 15:01:23 +0000 |
commit | 18ea83867168e8db0a2f2c8057d087363083486c (patch) | |
tree | 451af42b9f6d0d52e5c499a4e7dd6f5a5adbe501 | |
parent | python bindings: core (diff) | |
download | gpgme-18ea83867168e8db0a2f2c8057d087363083486c.tar.gz gpgme-18ea83867168e8db0a2f2c8057d087363083486c.zip |
python bindings: core
* lang/python/src/core.py: expanded gpgme_error check lists.
-rw-r--r-- | lang/python/src/core.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/python/src/core.py b/lang/python/src/core.py index 81131f21..1a0ec98e 100644 --- a/lang/python/src/core.py +++ b/lang/python/src/core.py @@ -1116,12 +1116,13 @@ class Context(GpgmeWrapper): # | grep -v _op_ | awk "/\(gpgme_ctx/ { printf (\"'%s',\\n\", \$2) } " return ((name.startswith('gpgme_op_') and not name.endswith('_result')) or name in { - 'gpgme_new', 'gpgme_set_ctx_flag', 'gpgme_set_protocol', - 'gpgme_set_sub_protocol', 'gpgme_set_keylist_mode', - 'gpgme_set_pinentry_mode', 'gpgme_set_locale', - 'gpgme_ctx_set_engine_info', 'gpgme_signers_add', - 'gpgme_sig_notation_add', 'gpgme_set_sender', - 'gpgme_cancel', 'gpgme_cancel_async', 'gpgme_get_key' + 'gpgme_new', 'gpgme_set_ctx_flag', 'gpgme_set_protocol', + 'gpgme_set_sub_protocol', 'gpgme_set_keylist_mode', + 'gpgme_set_pinentry_mode', 'gpgme_set_locale', + 'gpgme_ctx_set_engine_info', 'gpgme_signers_add', + 'gpgme_sig_notation_add', 'gpgme_set_sender', + 'gpgme_cancel', 'gpgme_cancel_async', 'gpgme_get_key', + 'gpgme_get_sig_key', }) _boolean_properties = {'armor', 'textmode', 'offline'} |