mirror of https://github.com/scrapy/scrapy.git
re-enabling replays with the new mechanism
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40122
This commit is contained in:
parent
bc00f8cce2
commit
fbb5860f49
|
|
@ -1,7 +1,6 @@
|
|||
from __future__ import with_statement
|
||||
|
||||
import os
|
||||
import sys
|
||||
import cPickle as pickle
|
||||
import shutil
|
||||
import 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']:
|
||||
|
|
|
|||
Loading…
Reference in New Issue