Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed bug in DownloaderStats middleware
Pablo Hoffman4599893f3548
diff --git a/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py b/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.pyindex 9fe0b866a..9598cc463 100644--- a/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py+++ b/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py@@ -38,7 +38,6 @@ class DownloaderStats(object):stats.incpath('%s/downloader/exception_type_count/%s' % (spider.domain_name, ex_class))if isinstance(exception, HttpException):self._inc_response_count(exception.response, spider.domain_name)- raise exceptiondef _inc_response_count(self, response, domain):stats.incpath('_global/downloader/response_count')