qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1153906 - /qpid/trunk/qpid/cpp/bindings/qpid/python/python.i
Date Thu, 04 Aug 2011 15:18:30 GMT
Author: gsim
Date: Thu Aug  4 15:18:30 2011
New Revision: 1153906

URL: http://svn.apache.org/viewvc?rev=1153906&view=rev
Log:
QPID-3333: Older swig impls seem not to deal with 

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=1153906&r1=1153905&r2=1153906&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/python/python.i (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/python/python.i Thu Aug  4 15:18:30 2011
@@ -116,16 +116,16 @@ static PyObject* pNoMessageAvailable;   
                                      bool transactional) {
         if (!name.empty()) {
             try {
-                return $self->getSession(name);
+                return self->getSession(name);
             }
             catch (const qpid::messaging::KeyError &) {
             }
         }
         if (transactional) {
-            return $self->createTransactionalSession(name);
+            return self->createTransactionalSession(name);
         }
         else {
-            return $self->createSession(name);
+            return self->createSession(name);
         }
     }
 



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


Mime
View raw message