8000 Relax SpiderLoader interface check by curita · Pull Request #1187 · scrapy/scrapy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Relax SpiderLoader interface check #1187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2015

Conversation

curita
Copy link
Member
@curita curita commented Apr 23, 2015

Raising an exception when the interface of SpiderLoader doesn't comply with scrapy.interfaces.ISpiderLoader seems unnecessary restrictive since some of its methods aren't always needed, as noted in #1148 comments.

This PR changes that by issuing a warning instead of stopping the execution with an exception.

@curita curita added this to the Scrapy 1.0 milestone Apr 23, 2015
@dangra
Copy link
Member
dangra commented Apr 23, 2015

👍 and LGTM.

kmike added a commit that referenced this pull request Apr 23, 2015
@kmike kmike merged commit fa1039f into scrapy:master Apr 23, 2015
@curita curita deleted the relax-spiderloader-check branch April 24, 2015 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0