qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl L. Pierce" <dpie...@redhat.com>
Subject Re: svn commit: r1524554 - in /qpid/trunk/qpid/cpp/bindings/qpid/python: ChangeLog python.i
Date Thu, 19 Sep 2013 17:26:22 GMT
On Thu, Sep 19, 2013 at 10:52:29AM +0100, Gordon Sim wrote:
> On 09/18/2013 09:20 PM, mcpierce@apache.org wrote:
> >Author: mcpierce
> >Date: Wed Sep 18 20:20:16 2013
> >New Revision: 1524554
> >
> >URL: http://svn.apache.org/r1524554
> >Log:
> >QPID-5140: Add get/set methods to MessageProperties
> >
> >Also set MessageProperties instance as the properties value on the
> >owning Message object.
> [...]
> >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=1524554&r1=1524553&r2=1524554&view=diff
> >==============================================================================
> >--- qpid/trunk/qpid/cpp/bindings/qpid/python/python.i (original)
> >+++ qpid/trunk/qpid/cpp/bindings/qpid/python/python.i Wed Sep 18 20:20:16 2013
> >@@ -313,6 +313,7 @@ QPID_EXCEPTION(UnauthorizedAccess, Sessi
> >               def __init__(self, msg):
> >                   self.msg = msg
> >                   self.properties = self.msg.getProperties()
> >+                 msg.properties = self
> 
> Can you explain the purpose of the line above?

When running the server app, it blew up on the msg.properties.get saying
NoneType had no attribute named get.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/


Mime
View raw message