Scrapy, a fast high-level web crawling & scraping framework for Python.
Drop old engine code
nyov7db6bbce27e6
diff --git a/scrapy/core/engine.py b/scrapy/core/engine.pyindex 717b34764..bd1a9f04b 100644--- a/scrapy/core/engine.py+++ b/scrapy/core/engine.py@@ -4,16 +4,14 @@ This is the Scrapy engine which controls the Scheduler, Downloader and Spiders.For more information see docs/topics/architecture.rst"""-import warningsfrom time import timefrom twisted.internet import deferfrom twisted.python.failure import Failurefrom scrapy import log, signals-from scrapy.core.downloader import Downloaderfrom scrapy.core.scraper import Scraper-from scrapy.exceptions import DontCloseSpider, ScrapyDeprecationWarning+from scrapy.exceptions import DontCloseSpiderfrom scrapy.http import Response, Requestfrom scrapy.utils.misc import load_objectfrom scrapy.utils.reactor import CallLaterOnce@@ -63,10 +61,6 @@ class ExecutionEngine(object):downloader_cls = load_object(self.settings['DOWNLOADER'])self.downloader = downloader_cls(crawler)self.scraper = Scraper(crawler)- self._concurrent_spiders = self.settings.getint('CONCURRENT_SPIDERS', 1)- if self._concurrent_spiders != 1:- warnings.warn("CONCURRENT_SPIDERS settings is deprecated, use " \- "Scrapyd max_proc config instead", ScrapyDeprecationWarning)self._spider_closed_callback = spider_closed_callback@defer.inlineCallbacks