From 190b1b7886df90d57538775fbae2aca5ba70027c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 12 Aug 2015 22:13:29 +0200 Subject: fix calling gnupg.list_keys. Fixes #8122 --- src/common/gpg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/gpg.py b/src/common/gpg.py index 12ce02a9f..65de5d0e2 100644 --- a/src/common/gpg.py +++ b/src/common/gpg.py @@ -56,8 +56,7 @@ if HAVE_GPG: trust = False if not trust: # check that we'll be able to encrypt - result = super(GnuPG, self).list_keys(recipients, - keys=recipients) + result = super(GnuPG, self).list_keys(keys=recipients) for key in result: if key['trust'] not in ('f', 'u'): return '', 'NOT_TRUSTED' -- cgit v1.2.3