[PEAK] Re: PyProtocols AdaptationFailure raises a TypeError on Python 2.5

Florent Aide florent.aide at gmail.com
Thu Jun 14 19:50:54 EDT 2007


On 6/15/07, Florent Aide <florent.aide at gmail.com> wrote:
> Hi Phillip, Hi all,
>
> I am testing some interface declaration and adaptation on python 2.5
> and when an adaption fails I get an unexpected Exception from
> PyProtocol:
>
> TypeError: exceptions must be strings, classes, or instances, not
> AdaptationFailure

Sorry for answering to my own email but here is my sample code:

http://paste.turbogears.org/paste/1391

Regards,
Florent.



More information about the PEAK mailing list