diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-07-24 16:24:13 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-08-03 17:16:57 -0300 |
commit | 3fab338ef4e1ae0efcfaee455ae04881aa013083 (patch) | |
tree | 6bcf55e666e2ff686e8a182d05a49c2898c9169a /src/leap/keymanager/openpgp.py | |
parent | 05d599a22ed4c31dbd09a79bd1b2e00a716614aa (diff) |
[style] Fixed pep8 warnings
Fixed pep8 warnings to prepare the keymanager for CI
Diffstat (limited to 'src/leap/keymanager/openpgp.py')
-rw-r--r-- | src/leap/keymanager/openpgp.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/keymanager/openpgp.py b/src/leap/keymanager/openpgp.py index 794a0ec2..5d91dc95 100644 --- a/src/leap/keymanager/openpgp.py +++ b/src/leap/keymanager/openpgp.py @@ -114,8 +114,11 @@ class TempGPGWrapper(object): publkeys = filter( lambda pubkey: pubkey.key_id not in privids, publkeys) - listkeys = lambda: self._gpg.list_keys() - listsecretkeys = lambda: self._gpg.list_keys(secret=True) + def listkeys(): + return self._gpg.list_keys() + + def listsecretkeys(): + return self._gpg.list_keys(secret=True) self._gpg = GPG(binary=self._gpgbinary, homedir=tempfile.mkdtemp()) |