summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-01-17 17:58:28 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-17 17:58:28 +0100
commitddf8b43b70e9b89237fe8a8f946582ed7878e367 (patch)
tree5616fde0bf51e9a903140cfc289cff68892dd872 /ffi
parent72f7f83fa697ac44d962dc65ef9329dcfe6fd3e8 (diff)
openpgp-ffi: Rename 'pgp_p_key*' to 'pgp_key*'.
- This is the result of the following command: git grep -il pgp_p_key | while read F ; do sed -E -i -e 's/pgp_p_key/pgp_key/g' $F ; done - Fixes #155.
Diffstat (limited to 'ffi')
-rw-r--r--ffi/lang/python/sequoia/openpgp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi/lang/python/sequoia/openpgp.py b/ffi/lang/python/sequoia/openpgp.py
index 73f58c0b..46cf50b5 100644
--- a/ffi/lang/python/sequoia/openpgp.py
+++ b/ffi/lang/python/sequoia/openpgp.py
@@ -186,11 +186,11 @@ class Tag(Enum):
class Key(SQObject):
@property
def fingerprint(self):
- return Fingerprint(lib.pgp_p_key_fingerprint(self.ref()))
+ return Fingerprint(lib.pgp_key_fingerprint(self.ref()))
@property
def keyid(self):
- return KeyID(lib.pgp_p_key_keyid(self.ref()))
+ return KeyID(lib.pgp_key_keyid(self.ref()))
class PublicKey(Key):
pass