xmlrpclib question
Fredrik Lundh
fredrik at pythonware.com
Mon Jul 22 11:26:16 EDT 2002
Eric Texier wrote:
> I posted this question earlier but I am still confuse about what
> I am doing wrong. Why, in the class 'clientRootTask' just taking
> out the 'if' statement will make it work:
what did you expect that if statement to do?
as written, you're asking the server if it's "true". to figure that
out, Python calls the proxy object's __nonzero__ method, which
the proxy happily forwards to the server.
maybe you meant "if server is not None"?
</F>
More information about the Python-list
mailing list