Skip to content

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

Correct init bag for load old scrapy.contrib.httpcache.FilesystemCacheStorage

Alexandr N Zamaraev (aka tonal)2c51266a40a8
diff --git a/scrapy/contrib/downloadermiddleware/httpcache.py b/scrapy/contrib/downloadermiddleware/httpcache.py
index ebfd14c1c..6a361679e 100644
--- a/scrapy/contrib/downloadermiddleware/httpcache.py
+++ b/scrapy/contrib/downloadermiddleware/httpcache.py
@@ -100,4 +100,4 @@ class FilesystemCacheStorage(_FilesystemCacheStorage):
'scrapy.contrib.downloadermiddlware.httpcache is '
'deprecated, use scrapy.contrib.httpcache instead.',
category=ScrapyDeprecationWarning, stacklevel=1)
- super(_FilesystemCacheStorage, self).__init__(*args, **kwargs)
+ super(FilesystemCacheStorage, self).__init__(*args, **kwargs)