[Twisted-Python] deferred object inside function

glyph at divmod.com glyph at divmod.com
Fri Jul 7 20:36:59 EDT 2006


On Fri, 7 Jul 2006 20:18:43 -0400, glyph at divmod.com wrote:
>On Fri, 7 Jul 2006 00:10:20 -0700, Yusnel Rojas García <yrojass at gmail.com> 
>wrote:
>>from twisted.names import client, dns
>>
>>def somefunction(somepars):
>>       r  = client.Resolver('/etc/resolv.conf')
>                             ^ Resolver takes an IP address here,
>                               not a filename.
                                ^ this comment is incorrect, please ignore it.




More information about the Twisted-Python mailing list