Restore unrelated change

This commit is contained in:
Eugenio Lacuesta 2020-02-23 18:31:13 -03:00
parent a44942d27d
commit f85bf77da3
No known key found for this signature in database
GPG Key ID: DA3EF2D0913E9810
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class CachingThreadedResolver(ThreadedResolver):
cache_size = 0
return cls(reactor, cache_size, crawler.settings.getfloat('DNS_TIMEOUT'))
def install_on_reactor(self):
def install_on_reactor(self,):
self.reactor.installResolver(self)
def getHostByName(self, name, timeout=None):