mirror of https://github.com/scrapy/scrapy.git
removed obsolete (and broken) downloader method: is_idle()
This commit is contained in:
parent
2a1a4477d3
commit
e1f4144391
|
|
@ -176,9 +176,6 @@ class Downloader(object):
|
|||
|
||||
return dfd.addBoth(finish_transferring)
|
||||
|
||||
def is_idle(self):
|
||||
return not self.slots
|
||||
|
||||
def close(self):
|
||||
self._slot_gc_loop.stop()
|
||||
for slot in self.slots.itervalues():
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ def get_engine_status(engine):
|
|||
global_tests = [
|
||||
"time()-engine.start_time",
|
||||
"engine.has_capacity()",
|
||||
"engine.downloader.is_idle()",
|
||||
"len(engine.downloader.slots)",
|
||||
"len(engine.downloader.active)",
|
||||
"engine.scraper.is_idle()",
|
||||
|
|
|
|||
Loading…
Reference in New Issue