scrapy/command.py shim

This commit is contained in:
Julia Medina 2015-04-28 15:28:58 -03:00
parent 616aec92c8
commit cfd40ed57f
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@ collect_ignore = [
"scrapy/squeue.py",
"scrapy/log.py",
"scrapy/dupefilter.py",
"scrapy/command.py",
] + _py_files("scrapy/contrib") + _py_files("scrapy/contrib_exp")

7
scrapy/command.py Normal file
View File

@ -0,0 +1,7 @@
import warnings
from scrapy.exceptions import ScrapyDeprecationWarning
warnings.warn("Module `scrapy.command` is deprecated, "
"use `scrapy.commands` instead",
ScrapyDeprecationWarning, stacklevel=2)
from scrapy.commands import *