fixed bug in DownloaderStats middleware

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40491
This commit is contained in:
Pablo Hoffman 2008-12-14 04:32:01 +00:00
parent 1510efcac9
commit 4599893f35
1 changed files with 0 additions and 1 deletions

View File

@ -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 exception
def _inc_response_count(self, response, domain):
stats.incpath('_global/downloader/response_count')