summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2014-07-23 16:09:34 +0000
committerAlan Conway <aconway@apache.org>2014-07-23 16:09:34 +0000
commitca9f0b69230ff6cafdcfe7881d05cbbcd13ec629 (patch)
tree31aa79d276e8e200536bdd0f79558773bc5215d3 /qpid/cpp/include
parentd54e6a69cef56afd160959f7b8a879169fe30558 (diff)
downloadqpid-python-ca9f0b69230ff6cafdcfe7881d05cbbcd13ec629.tar.gz
NO-JIRA: Fix typo in swig_python_typemaps.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612858 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/swig_python_typemaps.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/swig_python_typemaps.i b/qpid/cpp/include/qpid/swig_python_typemaps.i
index 0fc4d9019f..db20c312c4 100644
--- a/qpid/cpp/include/qpid/swig_python_typemaps.i
+++ b/qpid/cpp/include/qpid/swig_python_typemaps.i
@@ -38,7 +38,7 @@ static PyObject* pUuidModule;
Py_INCREF(pUuidModule);
PyModule_AddObject(m, "uuid", pUuidModule);
} else {
- if (!PyErr_Occurred) PyErr_SetString(PyExc_ImportError, "Cannot import qpid.datatypes");
+ if (!PyErr_Occurred()) PyErr_SetString(PyExc_ImportError, "Cannot import qpid.datatypes");
}
%}