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'