mirror of https://github.com/scrapy/scrapy.git
Merge pull request #1748 from scrapy/py3-crawlerrunner-stop
[MRG+1] PY3 fixed CrawlerRunner.stop
This commit is contained in:
commit
a214b131fc
|
|
@ -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