~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util.c (mkexc): Populate dictionary before constructing exception class.
[catacomb-python]
/
key.c
diff --git
a/key.c
b/key.c
index
dff59ec
..
997cf3c
100644
(file)
--- a/
key.c
+++ b/
key.c
@@
-104,7
+104,7
@@
static PyMethodDef keyexc_pymethods[] = {
static void keyexc_raise(int err)
{
- PyObject *arg = Py_BuildValue("(i
s)", err, key_strerror(err)
);
+ PyObject *arg = Py_BuildValue("(i
)", err
);
if (arg) PyErr_SetObject(keyexc, arg);
Py_XDECREF(arg);
}