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 1b04184c..d0fc3a4b --- 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 . """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.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 f11bb256..2fd74c29 --- 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