Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

reverted wrong XPathSelector commit

samus_85a4514603bc
diff --git a/scrapy/trunk/scrapy/xpath/selector.py b/scrapy/trunk/scrapy/xpath/selector.py
index 3f0ccc063..bdc30cf89 100644
--- a/scrapy/trunk/scrapy/xpath/selector.py
+++ b/scrapy/trunk/scrapy/xpath/selector.py
@@ -86,11 +86,6 @@ class XPathSelector(object):
class XPathSelectorList(list):
"""List of XPathSelector objects"""
- def __getitem__(self, i):
- print '__getitem__'
- self.__getitem__(i)
- #return XPathSelectorList(list.__getslice__(self, i, j))
-
def x(self, xpath):
"""Perform the given XPath query on each XPathSelector of the list and
return a new (flattened) XPathSelectorList of the results"""