From e7fbaa50d8203a76e94c4215cd94ac28c305ead9 Mon Sep 17 00:00:00 2001 From: samus_ Date: Tue, 22 Jul 2008 16:12:42 +0000 Subject: [PATCH] reverted wrong XPathSelector commit --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%4087 --- scrapy/trunk/scrapy/xpath/selector.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scrapy/trunk/scrapy/xpath/selector.py b/scrapy/trunk/scrapy/xpath/selector.py index 0081e2044..bdc30cf89 100644 --- a/scrapy/trunk/scrapy/xpath/selector.py +++ b/scrapy/trunk/scrapy/xpath/selector.py @@ -86,10 +86,6 @@ class XPathSelector(object): class XPathSelectorList(list): """List of XPathSelector objects""" - def __getitem__(self, i): - return '__getitem__' - #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"""