python bindings: core
authorBen McGinnes <ben@adversary.org>
Wed, 29 Aug 2018 14:57:24 +0000 (00:57 +1000)
committerBen McGinnes <ben@adversary.org>
Wed, 29 Aug 2018 15:01:23 +0000 (01:01 +1000)
* lang/python/src/core.py: expanded gpgme_error check lists.

lang/python/src/core.py

index 81131f2..1a0ec98 100644 (file)
@@ -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'}