mirror of https://github.com/scrapy/scrapy.git
SpiderManager shim is removed
This commit is contained in:
parent
36453348fa
commit
f531b66822
|
|
@ -16,7 +16,3 @@ class ISpiderLoader(Interface):
|
|||
def find_by_request(request):
|
||||
"""Return the list of spiders names that can handle the given request"""
|
||||
|
||||
|
||||
# ISpiderManager is deprecated, don't use it!
|
||||
# An alias is kept for backwards compatibility.
|
||||
ISpiderManager = ISpiderLoader
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
"""
|
||||
Backwards compatibility shim. Use scrapy.spiderloader instead.
|
||||
"""
|
||||
from scrapy.spiderloader import SpiderLoader
|
||||
from scrapy.utils.deprecate import create_deprecated_class
|
||||
|
||||
SpiderManager = create_deprecated_class('SpiderManager', SpiderLoader)
|
||||
|
|
@ -125,7 +125,6 @@ def _clspath(cls, forced=None):
|
|||
|
||||
DEPRECATION_RULES = [
|
||||
('scrapy.telnet.', 'scrapy.extensions.telnet.'),
|
||||
('scrapy.spidermanager.SpiderManager', 'scrapy.spiderloader.SpiderLoader'),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue