diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2015-08-12 23:13:29 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2015-08-12 23:13:29 +0300 |
commit | 190b1b7886df90d57538775fbae2aca5ba70027c (patch) | |
tree | 51563cb1b36a22f5c2e4f492cedc53812cc25a7e /src | |
parent | c69ab30ed657076ca7617c755f66f93a85077021 (diff) |
fix calling gnupg.list_keys. Fixes #8122
Diffstat (limited to 'src')
-rw-r--r-- | src/common/gpg.py | 3 |
1 files changed, 1 insertions, 2 deletions
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' |