summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-16 11:19:10 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-16 11:19:10 +0200
commitf3d79b33a21c4683c39600b63b958c3b0e2c4e2d (patch)
treefad1835dcfd3ad2467dcd87ec9737340b9a7943e
parentccde2e8dcd7db281319a872e71d76a4cc46a49bf (diff)
downloadgemato-f3d79b33a21c4683c39600b63b958c3b0e2c4e2d.tar.gz
openpgp: Remove gpg-1.4 compatibility code
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--gemato/openpgp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py
index c7a6a34..9cd86a6 100644
--- a/gemato/openpgp.py
+++ b/gemato/openpgp.py
@@ -253,9 +253,8 @@ debug-level guru
keys were successfully found. Otherwise, returns false.
"""
# list all keys in the keyring
- # (--fingerprint --fixed-list-mode are necessary for GnuPG-1.4)
- exitst, out, err = self._spawn_gpg(['--with-colons', '--list-keys',
- '--fingerprint', '--fixed-list-mode'], '')
+ exitst, out, err = self._spawn_gpg(
+ ['--with-colons', '--list-keys'], '')
if exitst != 0:
raise gemato.exceptions.OpenPGPKeyRefreshError(err.decode('utf8'))