From d5564828eaf140f09f0ea7b1b2b4164589e51b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Fri, 28 Aug 2020 03:24:12 +0200 Subject: [PATCH] contrib/store-pw-with-gpg/gpg-pw.py --- contrib/store-pw-with-gpg/gpg-pw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/store-pw-with-gpg/gpg-pw.py b/contrib/store-pw-with-gpg/gpg-pw.py index 945334f..43d1230 100644 --- a/contrib/store-pw-with-gpg/gpg-pw.py +++ b/contrib/store-pw-with-gpg/gpg-pw.py @@ -53,7 +53,7 @@ def get_gpg_pass(account, storage): '''GPG method''' command = ("gpg", "-d", storage) # get attention - print '\a' # BEL + print('\a') # BEL output = subprocess.check_output(command) # p = subprocess.Popen(command, stdout=subprocess.PIPE) # output, err = p.communicate() @@ -96,4 +96,4 @@ class Tester(unittest.TestCase): if __name__ == "__main__": - print get_pass(argv[1], argv[2], argv[3]) + print(get_pass(argv[1], argv[2], argv[3]))