[git] GPGME - branch, master, updated. gpgme-1.12.0-116-gd406471

[email protected] (by Ben McGinnes) Wed, 26 Dec 2018 01:03:50 +0100
Newsgroups gmane.comp.encryption.gpg.cvs
Message-ID <[email protected]>
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  d406471d4bf9c79140e4bc91de7d316ec7465892 (commit)
      from  06bca0eaa8de8405fafc892ab7864990f8853bcf (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 d406471d4bf9c79140e4bc91de7d316ec7465892
Author: Ben McGinnes <[email protected]>
Date:   Wed Dec 26 11:01:33 2018 +1100

    python: examples
    
    * Fixed inter-edit.py so it will actually work now.
    * made 3 others executable.
    * Fixed the semantics of assuan.py's instructions.
    
    Tested-by: Ben McGinnes <[email protected]>
    Signed-off-by: Ben McGinnes <[email protected]>

diff --git a/lang/python/examples/assuan.py b/lang/python/examples/assuan.py
old mode 100644
new mode 100755
diff --git a/lang/python/examples/decryption-filter.py b/lang/python/examples/decryption-filter.py
old mode 100644
new mode 100755
index 1b04184..d0fc3a4
--- a/lang/python/examples/decryption-filter.py
+++ b/lang/python/examples/decryption-filter.py
@@ -16,10 +16,10 @@
 # along with this program; if not, see <https://www.gnu.org/licenses/>.
 """A decryption filter
 
-This demonstrates decryption using gpg3 in three lines of code.  To
+This demonstrates decryption using gpg in three lines of code.  To
 be used like this:
 
-./decryption-filter.py <message.gpg >message.plain
+./decryption-filter.py < message.gpg > message.plain
 
 """
 
diff --git a/lang/python/examples/inter-edit.py b/lang/python/examples/inter-edit.py
old mode 100644
new mode 100755
index f11bb25..2fd74c2
--- a/lang/python/examples/inter-edit.py
+++ b/lang/python/examples/inter-edit.py
@@ -40,10 +40,7 @@ with gpg.Context() as c:
     print("Editing key {} ({}):".format(key.uids[0].uid, key.subkeys[0].fpr))
 
     def edit_fnc(keyword, args):
-        print(
-            "Status: {}, args: {} > ".format(keyword, args),
-            end='',
-            flush=True)
+        print("Status: {}, args: {} > ".format(keyword, args), end="")
 
         if 'GET' not in keyword:
             # no prompt
diff --git a/lang/python/examples/testCMSgetkey.py b/lang/python/examples/testCMSgetkey.py
old mode 100644
new mode 100755

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

Summary of changes:
 lang/python/examples/assuan.py            | 0
 lang/python/examples/decryption-filter.py | 4 ++--
 lang/python/examples/inter-edit.py        | 5 +----
 lang/python/examples/testCMSgetkey.py     | 0
 4 files changed, 3 insertions(+), 6 deletions(-)
 mode change 100644 => 100755 lang/python/examples/assuan.py
 mode change 100644 => 100755 lang/python/examples/decryption-filter.py
 mode change 100644 => 100755 lang/python/examples/inter-edit.py
 mode change 100644 => 100755 lang/python/examples/testCMSgetkey.py


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