mirror of https://github.com/scrapy/scrapy.git
Moved scrapy/command/__init__.py to scrapy/command.py
--HG-- rename : scrapy/command/__init__.py => scrapy/command.py
This commit is contained in:
parent
c7d9f6e270
commit
67e42d1bfd
|
|
@ -2,8 +2,6 @@
|
|||
Base class for Scrapy commands
|
||||
"""
|
||||
|
||||
# TODO: move this module to scrapy/command.py for Scrapy 0.10
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import os
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# TODO: remove this module for Scrapy 0.10
|
||||
import warnings
|
||||
|
||||
from scrapy import cmdline
|
||||
|
||||
def execute():
|
||||
warnings.warn("scrapy.command.cmdline.execute() is deprecated, modify your " \
|
||||
"project-ctl.py script to use scrapy.cmdline.execute() instead", \
|
||||
DeprecationWarning, stacklevel=2)
|
||||
cmdline.execute()
|
||||
Loading…
Reference in New Issue