mirror of https://github.com/scrapy/scrapy.git
PY3 fixed CrawlerRunner.stop
This commit is contained in:
parent
8a391a557f
commit
65fb67f2db
|
|
@ -189,7 +189,7 @@ class CrawlerRunner(object):
|
|||
|
||||
Returns a deferred that is fired when they all have ended.
|
||||
"""
|
||||
return defer.DeferredList([c.stop() for c in self.crawlers])
|
||||
return defer.DeferredList([c.stop() for c in list(self.crawlers)])
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def join(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue