scrapy/scrapy/commands
Vostretsov Nikita 72d0899bce Return non-zero exit code from scrapy commands in case of spider bootstrap errors
* method to detect spider creation in crawler

* correct method name

* method to know if crawlers has spiders

* we do not need to issue requests

* set exit code accordingly to spiders in crawlers

* more portable way to check ofr exceptions

* more clear way

* test cases for several spiders per crawler

* grammatically correct name for method

* method is private

* grammatically correct name for method

* method is private

* remove unused import

* correct order of imports

* changes mechanism of obtaining spider status from method to object member

* rename tests
2018-06-14 19:58:48 +05:00
..
__init__.py Remove --lsprof command-line option. Fixes GH-1531 2016-01-19 00:00:31 +05:00
bench.py Move scrapy/command.py to scrapy/commands/__init__.py 2015-05-09 03:20:36 -03:00
check.py Replace BaseSettings._getcomposite() with public .getwithbase() method 2015-11-11 17:39:57 +01:00
crawl.py Return non-zero exit code from scrapy commands in case of spider bootstrap errors 2018-06-14 19:58:48 +05:00
edit.py Separated import statements 2017-11-19 18:09:38 -04:00
fetch.py Use built-in range() 2016-12-12 22:40:48 +01:00
genspider.py enable genspider command outside projects 2016-07-06 15:10:48 -03:00
list.py Do not only warn on wrong spider modules for "scrapy list" 2017-03-09 17:38:15 +01:00
parse.py removed commented out code, wrapped line to pep-8 and removed backlashes 2017-11-11 18:30:01 -05:00
runspider.py Return non-zero exit code from scrapy commands in case of spider bootstrap errors 2018-06-14 19:58:48 +05:00
settings.py Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning 2017-03-07 17:40:40 +01:00
shell.py Let framework handle only HTTP redirects by default for fetch and shell commands 2016-12-07 17:56:13 +01:00
startproject.py Add SPIDER_LOADER_WARN_ONLY to toggle between spiderloader failure and warning 2017-03-07 17:40:40 +01:00
version.py Print cryptography package version 2017-09-07 11:43:20 +02:00
view.py Remove unused --headers option for view command 2017-01-30 15:54:28 +01:00