removed obsolete (and broken) downloader method: is_idle()

This commit is contained in:
Pablo Hoffman 2013-04-29 13:04:40 -03:00
parent 2a1a4477d3
commit e1f4144391
2 changed files with 0 additions and 4 deletions

View File

@ -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():

View File

@ -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()",