Rename scrapy/dupefilter.py to scrapy/dupefilters.py

This commit is contained in:
Julia Medina 2015-04-23 11:57:14 -03:00
parent 78dcd4e1e7
commit 54a4ce069c
5 changed files with 4 additions and 4 deletions

View File

@ -487,7 +487,7 @@ If you want to disable it set to 0.
DUPEFILTER_CLASS
----------------
Default: ``'scrapy.dupefilter.RFPDupeFilter'``
Default: ``'scrapy.dupefilters.RFPDupeFilter'``
The class used to detect and filter duplicate requests.

View File

@ -100,7 +100,7 @@ DOWNLOADER_MIDDLEWARES_BASE = {
DOWNLOADER_STATS = True
DUPEFILTER_CLASS = 'scrapy.dupefilter.RFPDupeFilter'
DUPEFILTER_CLASS = 'scrapy.dupefilters.RFPDupeFilter'
try:
EDITOR = os.environ['EDITOR']

View File

@ -25,7 +25,7 @@ tests/test_downloadermiddleware_retry.py
tests/test_downloadermiddleware_robotstxt.py
tests/test_downloadermiddleware_stats.py
tests/test_downloadermiddleware_useragent.py
tests/test_dupefilter.py
tests/test_dupefilters.py
tests/test_engine.py
tests/test_http_cookies.py
tests/test_http_request.py

View File

@ -1,7 +1,7 @@
import hashlib
import unittest
from scrapy.dupefilter import RFPDupeFilter
from scrapy.dupefilters import RFPDupeFilter
from scrapy.http import Request