From fdaadcbd2050bf2f5ec421a671623a3e308e5260 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Fri, 10 May 2013 09:40:36 +0000 Subject: [PATCH] Fix a bug due to calling a GnuPG option which was removed several versions ago. --- gnupg/gnupg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py index 8416f95..84eec7d 100644 --- a/gnupg/gnupg.py +++ b/gnupg/gnupg.py @@ -535,7 +535,8 @@ class GPG(object): :param bool secret: If True, delete the corresponding secret key(s) also. (default: False) """ - which='key' + + which='keys' if secret: which='secret-key'