mirror of https://github.com/scrapy/scrapy.git
updated ugly argument name
This commit is contained in:
parent
5050787380
commit
07c1f3b8d8
|
|
@ -55,8 +55,8 @@ class XMLFeedSpider(InitSpider):
|
|||
containing any of them.
|
||||
"""
|
||||
|
||||
for xSel in nodes:
|
||||
ret = self.parse_item(response, xSel)
|
||||
for selector in nodes:
|
||||
ret = self.parse_item(response, selector)
|
||||
if isinstance(ret, (BaseItem, Request)):
|
||||
ret = [ret]
|
||||
if not isinstance(ret, (list, tuple)):
|
||||
|
|
|
|||
Loading…
Reference in New Issue