Scrapy, a fast high-level web crawling & scraping framework for Python.
re-enabling replays with the new mechanism
samus_fbb5860f4925
diff --git a/scrapy/trunk/scrapy/replay/__init__.py b/scrapy/trunk/scrapy/replay/__init__.pyindex c127fd582..952bae826 100644--- a/scrapy/trunk/scrapy/replay/__init__.py+++ b/scrapy/trunk/scrapy/replay/__init__.py@@ -1,7 +1,6 @@from __future__ import with_statementimport os-import sysimport cPickle as pickleimport shutilimport tempfile@@ -28,9 +27,6 @@ class Replay(object):usedir=False)"""- log.msg("beta state! please don't use now", log.ERROR)- sys.exit(1)-# XXX: this is ugly, and should be removed. but how?cachemw = 'scrapy.contrib.downloadermiddleware.cache.CacheMiddleware'if not cachemw in settings['DOWNLOADER_MIDDLEWARES']: