Merge pull request #1748 from scrapy/py3-crawlerrunner-stop

[MRG+1] PY3 fixed CrawlerRunner.stop
This commit is contained in:
Daniel Graña 2016-02-03 19:41:43 -03:00
commit a214b131fc
1 changed files with 1 additions and 1 deletions

View File

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