[Twisted-Python] factory class has no __class__ attribute!

John Pote johnpote at jptechnical.co.uk
Thu Mar 1 12:21:32 EST 2007


Thanks Jean-Paul and Daniel. Had to be a trivial problem. My excuse is I 
typed it in at the tail end of a migraine and I'm struggleing with my 
vari-focals anyway. Just didn't see the () to make an instance of the 
factory. Thanks boys.

John

L. Daniel Burr wrote:

>                               ^^^^^^^^^^^^^
> You have to pass an *instance* of myhttpFactory,
> not the class itself.
>
> Hope this helps,
>
> L. Daniel Burr
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>






More information about the Twisted-Python mailing list