Moved scrapy/command/__init__.py to scrapy/command.py

--HG--
rename : scrapy/command/__init__.py => scrapy/command.py
This commit is contained in:
Pablo Hoffman 2010-08-08 07:30:03 -03:00
parent c7d9f6e270
commit 67e42d1bfd
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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()