[git] GPGME - branch, master, updated. gpgme-1.11.1-257-g18ea838

by Ben McGinnes cvs at cvs.gnupg.org
Wed Aug 29 17:02:37 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  18ea83867168e8db0a2f2c8057d087363083486c (commit)
       via  dcedddecb6f8f11682aed3b09b88ee1511010faf (commit)
       via  6078b5303362b2e5ce56660967fac313ca3d5ae9 (commit)
      from  1420c3bd681648b032d756536311621a3627bedb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 18ea83867168e8db0a2f2c8057d087363083486c
Author: Ben McGinnes <ben at adversary.org>
Date:   Thu Aug 30 00:57:24 2018 +1000

    python bindings: core
    
    * lang/python/src/core.py: expanded gpgme_error check lists.

diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index 81131f2..1a0ec98 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'}

commit dcedddecb6f8f11682aed3b09b88ee1511010faf
Author: Ben McGinnes <ben at adversary.org>
Date:   Wed Aug 29 22:28:53 2018 +1000

    python bindings: core
    
    * lang/python/src/core.py: added gpgme_data_set_flag to the errorcheck
      funtion.

diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index be3ebd1..81131f2 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -1396,6 +1396,7 @@ class Data(GpgmeWrapper):
             'gpgme_data_release_and_get_mem',
             'gpgme_data_get_encoding',
             'gpgme_data_get_file_name',
+            'gpgme_data_set_flag',
             'gpgme_data_identify',
         }
 

commit 6078b5303362b2e5ce56660967fac313ca3d5ae9
Author: Ben McGinnes <ben at adversary.org>
Date:   Wed Aug 29 22:03:06 2018 +1000

    python bindings: core
    
    * lang/python/src/core.py: added new function new_from_estream to wrap
      new_from_fd just like new_from_stream does and for the same reason.

diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index d471131..be3ebd1 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -1560,9 +1560,15 @@ class Data(GpgmeWrapper):
         self.wrapped = gpgme.gpgme_data_t_p_value(tmp)
         gpgme.delete_gpgme_data_t_p(tmp)
 
+    def new_from_estream(self, file):
+        """This wrap around gpgme_data_new_from_estream is an alias for
+        new_from_fd() method since in python there's no difference
+        between file stream and file descriptor"""
+        self.new_from_fd(file)
+
     def new_from_stream(self, file):
         """This wrap around gpgme_data_new_from_stream is an alias for
-        new_from_fd() method since in python there's not difference
+        new_from_fd() method since in python there's no difference
         between file stream and file descriptor"""
         self.new_from_fd(file)
 

-----------------------------------------------------------------------

Summary of changes:
 lang/python/src/core.py | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list