summaryrefslogtreecommitdiffstats
path: root/ffi/lang
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-01-29 15:44:42 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-29 17:41:26 +0100
commit6b06c05cb99d2e7396fdf3d3d1c2e6f92d954dad (patch)
tree2e85b193992224fcca9cfea358b70118ab2f5378 /ffi/lang
parent009bb9b5267930b4898240d5405d73df81b9ae22 (diff)
openpgp-ffi: Use generated to_string() function.
Diffstat (limited to 'ffi/lang')
-rw-r--r--ffi/lang/python/sequoia/error.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/lang/python/sequoia/error.py b/ffi/lang/python/sequoia/error.py
index 192b7d18..0b434801 100644
--- a/ffi/lang/python/sequoia/error.py
+++ b/ffi/lang/python/sequoia/error.py
@@ -23,7 +23,7 @@ class MalformedValue(Error, ValueError):
class SQError(Error):
def __init__(self, o):
self.__o = ffi.gc(o, lib.pgp_error_free)
- super(SQError, self).__init__(sq_str(lib.pgp_error_string(self.__o)))
+ super(SQError, self).__init__(sq_str(lib.pgp_error_to_string(self.__o)))
class Success(SQError):
pass