Verified Commit c9f16579 authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Remove the unused fingerprints argument to GnuPG.get_keys_data()

parent de80807d
......@@ -100,7 +100,7 @@ class GnuPG():
"""Returns true if the gpg binary is not installed or not executable."""
return self.gpg_path is None
def get_keys_data(self, fingerprints=None):
def get_keys_data(self):
"""
Returns the key object of the given GPG public key.
......@@ -109,11 +109,8 @@ class GnuPG():
"""
if fingerprints is None:
fingerprints = []
try:
(output, status) = self._run(args=['--list-keys'] + fingerprints)
(output, status) = self._run(args=['--list-keys'])
keys = KeyData.read_from_gpg(output.splitlines())
return list(keys.values())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment