Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

stats: fix stats key typo

Daniel Grana0be771152b60
diff --git a/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py b/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py
index 5ae74bfd3..76dcd2fc3 100644
--- a/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py
+++ b/scrapy/trunk/scrapy/contrib/downloadermiddleware/stats.py
@@ -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):