updated ugly argument name

This commit is contained in:
Pablo Hoffman 2009-08-21 16:13:25 -03:00
parent 5050787380
commit 07c1f3b8d8
1 changed files with 2 additions and 2 deletions

View File

@ -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)):