Ticket #3710: client.patch
| File client.patch, 0.8 KB (added by cary, 4 years ago) |
|---|
-
twisted/names/client.py
20 20 21 21 import os 22 22 import errno 23 import warnings 23 24 24 25 from zope.interface import implements 25 26 … … 494 495 if reactor is None: 495 496 from twisted.internet import reactor 496 497 _ThreadedResolverImpl.__init__(self, reactor) 497 # warnings.warn("twisted.names.client.ThreadedResolver is deprecated, use XXX instead.") 498 warnings.warn( 499 "twisted.names.client.ThreadedResolver is deprecated, " 500 "use twisted.internet.base.ThreadedResolver instead.") 498 501 499 502 class DNSClientFactory(protocol.ClientFactory): 500 503 def __init__(self, controller, timeout = 10):
