PY3 fixed CrawlerRunner.stop

This commit is contained in:
Mikhail Korobov 2016-02-03 01:01:16 +05:00
parent 8a391a557f
commit 65fb67f2db
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):