Skip to content

Commit

Permalink
scrapy/linkextractor.py shim
Browse files Browse the repository at this point in the history
  • Loading branch information
curita committed May 9, 2015
1 parent d725366 commit 3294524
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions conftest.py
Expand Up @@ -17,6 +17,7 @@ def _py_files(folder):
"scrapy/log.py",
"scrapy/dupefilter.py",
"scrapy/command.py",
"scrapy/linkextractor.py",
] + _py_files("scrapy/contrib") + _py_files("scrapy/contrib_exp")


Expand Down
7 changes: 7 additions & 0 deletions scrapy/linkextractor.py
@@ -0,0 +1,7 @@
import warnings
from scrapy.exceptions import ScrapyDeprecationWarning
warnings.warn("Module `scrapy.linkextractor` is deprecated, "
"use `scrapy.linkextractors` instead",
ScrapyDeprecationWarning, stacklevel=2)

from scrapy.linkextractors import *

0 comments on commit 3294524

Please sign in to comment.