diff options
| author | Ted Ross <tross@apache.org> | 2010-08-12 22:35:23 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-08-12 22:35:23 +0000 |
| commit | c99def7ea6c18522a51a64df9b24fa1195fd1aaa (patch) | |
| tree | b9546b74e7971d06a9dd73bf0164a59ec78f3eb8 /cpp/bindings/qpid/python/python.i | |
| parent | 9d87bd9a981bda0fe2106603030847588c3869fb (diff) | |
| download | qpid-python-c99def7ea6c18522a51a64df9b24fa1195fd1aaa.tar.gz | |
QPID-2793 - Python and Ruby bindings for the C++ QMFv2 API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/python/python.i')
| -rw-r--r-- | cpp/bindings/qpid/python/python.i | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/bindings/qpid/python/python.i b/cpp/bindings/qpid/python/python.i index 690ce57d85..85dc745783 100644 --- a/cpp/bindings/qpid/python/python.i +++ b/cpp/bindings/qpid/python/python.i @@ -17,14 +17,16 @@ * under the License. */ -%module qpidw +%module cqpid %include "std_string.i" %include "../../swig_python_typemaps.i" /* Define the general-purpose exception handling */ %exception { try { + Py_BEGIN_ALLOW_THREADS $action + Py_END_ALLOW_THREADS } catch (qpid::messaging::MessagingException& mex) { PyErr_SetString(PyExc_RuntimeError, mex.what()); |
