From 65c00e07d38b43a70a58fdda3ef4d6a5f803507b Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 31 Aug 2011 08:59:13 +0000 Subject: QPID-3333: Patch from Anthony Foglia - Add connection property to Session object (0012) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163536 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/bindings/qpid/python/python.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/bindings/qpid/python/python.i') diff --git a/cpp/bindings/qpid/python/python.i b/cpp/bindings/qpid/python/python.i index 5767cdce2e..96d8e4b08e 100644 --- a/cpp/bindings/qpid/python/python.i +++ b/cpp/bindings/qpid/python/python.i @@ -194,6 +194,9 @@ static PyObject* pTransportFailure; self._acknowledge_msg(message, sync) else : self._acknowledge_all(sync) + + __swig_getmethods__["connection"] = getConnection + if _newclass: connection = _swig_property(getConnection) %} } -- cgit v1.2.1