mirror of https://github.com/scrapy/scrapy.git
Fix warning to duplicated spider. Issue 2181
This commit is contained in:
parent
f3b75c940d
commit
6abd9ba843
|
|
@ -27,7 +27,7 @@ class SpiderLoader(object):
|
|||
import warnings
|
||||
warnings.warn("There are several spiders with the same name (" + spcls.name +
|
||||
"), this can cause unexpected behavior", UserWarning)
|
||||
self._spiders[spcls.name] = spcls
|
||||
self._spiders[spcls.name] = spcls
|
||||
|
||||
|
||||
def _load_all_spiders(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue