From 0f49c7c0d4eec8090e30795608c0a6a6a231cee3 Mon Sep 17 00:00:00 2001 From: olveyra Date: Mon, 18 Aug 2008 15:53:53 +0000 Subject: [PATCH] temporal fix to avoid exceptions before commit in decobot --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40172 --- scrapy/trunk/scrapy/contrib/adaptors.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scrapy/trunk/scrapy/contrib/adaptors.py b/scrapy/trunk/scrapy/contrib/adaptors.py index 565b93728..d9559de2f 100644 --- a/scrapy/trunk/scrapy/contrib/adaptors.py +++ b/scrapy/trunk/scrapy/contrib/adaptors.py @@ -33,6 +33,9 @@ class ExtractAdaptor(ExtendedAdaptor): def function(self, item, location, **pipeargs): return self.do(self.extract, location, **pipeargs) + def _extract(self, location, **kwargs): + return self.extract(location, **kwargs) + def extract(self, location, **kwargs): """Extract a list of strings from the location passed. Receives a list of XPathSelectors or an XPathSelector,