Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

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

Pablo Hoffman67e42d1bfd33
diff --git a/scrapy/command/__init__.py b/scrapy/command.py
similarity index 98%
rename from scrapy/command/__init__.py
rename to scrapy/command.py
index 707ac94a3..591717276 100644
--- a/scrapy/command/__init__.py
+++ b/scrapy/command.py
@@ -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
diff --git a/scrapy/command/cmdline.py b/scrapy/command/cmdline.py
deleted file mode 100644
index b22b57b34..000000000
--- a/scrapy/command/cmdline.py
+++ /dev/null
@@ -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()