[git] GPGME - branch, ben/docs/2018-03, updated. gpgme-1.10.0-122-g52e2629

by Ben McGinnes cvs at cvs.gnupg.org
Tue Mar 20 04:58:41 CET 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, ben/docs/2018-03 has been updated
       via  52e262991f1fdf7da93882c3b22c05537376cf49 (commit)
       via  96d0395bccbbff91f73c06cb7bd6c131f04b8a9a (commit)
      from  51258975d763c9471859d635e6080c2ec02e8647 (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 52e262991f1fdf7da93882c3b22c05537376cf49
Author: Ben McGinnes <ben at adversary.org>
Date:   Tue Mar 20 14:57:26 2018 +1100

    doc: python bindings howto
    
    * Fixed typos in examples.

diff --git a/lang/python/docs/GPGMEpythonHOWTOen.org b/lang/python/docs/GPGMEpythonHOWTOen.org
index 770c278..2a200bb 100644
--- a/lang/python/docs/GPGMEpythonHOWTOen.org
+++ b/lang/python/docs/GPGMEpythonHOWTOen.org
@@ -406,7 +406,7 @@
       print("""
       Number of secret keys:  {0}
       Number of public keys:  {1}
-      """.format(secnum, pubnum)
+      """.format(secnum, pubnum))
     #+end_src
 
 
@@ -671,7 +671,7 @@
      newfile = input("Enter path and filename of file to save decrypted data to: ")
      with open(ciphertext, "rb") as cfile:
          plaintext, result, verify_result = gpg.Context().decrypt(cfile)
-     with open(newfile, "wb" as nfile:
+     with open(newfile, "wb") as nfile:
          nfile.write(plaintext)
    #+end_src
 

commit 96d0395bccbbff91f73c06cb7bd6c131f04b8a9a
Author: Ben McGinnes <ben at adversary.org>
Date:   Tue Mar 20 14:55:05 2018 +1100

    example: keycount
    
    * Fixed missing parenthesis.

diff --git a/lang/python/examples/howto/keycount.py b/lang/python/examples/howto/keycount.py
index 7dd5e77..8e25454 100755
--- a/lang/python/examples/howto/keycount.py
+++ b/lang/python/examples/howto/keycount.py
@@ -39,4 +39,4 @@ pubnum = len(publist)
 print("""
 Number of secret keys:  {0}
 Number of public keys:  {1}
-""".format(secnum, pubnum)
+""".format(secnum, pubnum))

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

Summary of changes:
 lang/python/docs/GPGMEpythonHOWTOen.org | 4 ++--
 lang/python/examples/howto/keycount.py  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list