stats: fix stats key typo

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40983
This commit is contained in:
Daniel Grana 2009-03-11 03:01:30 +00:00
parent f8ce241484
commit 0be771152b
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class DownloaderStats(object):
def process_exception(self, request, exception, spider):
ex_class = "%s.%s" % (exception.__class__.__module__, exception.__class__.__name__)
stats.incpath('_globl/downloader/exception_count')
stats.incpath('_global/downloader/exception_count')
stats.incpath('%s/downloader/exception_count' % spider.domain_name)
stats.incpath('%s/downloader/exception_type_count/%s' % (spider.domain_name, ex_class))
if isinstance(exception, HttpException):