On 8/6/10 5:15 AM, Сергей Магафуров wrote:
[cut]
I'd like to help you, but I don't really get it.
First:
- What are you trying to do?
- What is your expected outcome?
- What is, on the contrary your program's output?
Second:
your example is too long and is not executable (I need to figure out
#x27;re creating such objects in your XMLRPC subclass
__init___(), that's your problem.
bye!
Alan Franzoni
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
;re done. Your method
will be invoked once per request.
Alan Franzoni
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Just ovverride the "protocol" attribute on your factory with the
callable you want to be called when a new protocol needs to be
instanced. I'd suppose you'd probably want to subclass HTTPChannel or
something like that.
___
Twisted-Python mailing list
full code, including how you're using such class. Also:
- log the entry you've found and that you're using to re-bind. It might
not be what you're expecting.
- try the very same query using something like ldapsearch or Apache LDAP
Studio, and see whether the result differs.
--
A