You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2011/08/31 10:59:14 UTC

svn commit: r1163536 - /qpid/trunk/qpid/cpp/bindings/qpid/python/python.i

Author: gsim
Date: Wed Aug 31 08:59:13 2011
New Revision: 1163536

URL: http://svn.apache.org/viewvc?rev=1163536&view=rev
Log:
QPID-3333: Patch from Anthony Foglia - Add connection property to Session object (0012)

Modified:
    qpid/trunk/qpid/cpp/bindings/qpid/python/python.i

Modified: qpid/trunk/qpid/cpp/bindings/qpid/python/python.i
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/python/python.i?rev=1163536&r1=1163535&r2=1163536&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/python/python.i (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/python/python.i Wed Aug 31 08:59:13 2011
@@ -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)
     %}
 }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org