[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-suds-list] Clone "needs" messages



Hi,

I checked in the source code of 0.3.7 and in the subversion trunk and both lack the "cloning" of the "messages" attribute. Trying to usethe "cloned" object fails because it has no "messages".

Opening a ticket was my preferred way but it seems that the Fedora Account System is not working properly, so there it goes

Original Code at the end of the Client.clone function

        clone.sd = self.sd
        return clone

New Code

        clone.sd = self.sd
        clone.messages = dict(tx=None, rx=None)
        return clone

With that small modification, clone is (so far in my small attempts) working for me.

Best regards

Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]