diff options
author | Heikki Toivonen <heikki@heikkitoivonen.net> | 2006-03-04 01:06:33 +0000 |
---|---|---|
committer | Heikki Toivonen <heikki@heikkitoivonen.net> | 2006-03-04 01:06:33 +0000 |
commit | 9b45db096c8dd962f6d6313c264467f537d50199 (patch) | |
tree | 5e7b37039f7bddd8d3c367a5a234a0f60c2b5bea /SWIG/_pkcs7.i | |
parent | 387c461784af7b758c8460d9d4cd9c3ec708ea6e (diff) | |
download | m2crypto-9b45db096c8dd962f6d6313c264467f537d50199.tar.gz |
Changing exception that is raised when PyTuple_New() fails.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@364 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'SWIG/_pkcs7.i')
-rw-r--r-- | SWIG/_pkcs7.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SWIG/_pkcs7.i b/SWIG/_pkcs7.i index 886a634..a2f519a 100644 --- a/SWIG/_pkcs7.i +++ b/SWIG/_pkcs7.i @@ -138,7 +138,7 @@ PyObject *smime_read_pkcs7(BIO *bio) { return NULL; } if (!(tuple=PyTuple_New(2))) { - PyErr_SetString(PyExc_RuntimeError, "smime_read_pkcs7: PyTuple_New()"); + PyErr_SetString(PyExc_RuntimeError, "PyTuple_New() fails"); return NULL; } _p7 = SWIG_NewPointerObj((void *)p7, SWIGTYPE_p_PKCS7, 0); |