From 67e42d1bfd339da5b161f515c7c77e26cf981803 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Sun, 8 Aug 2010 07:30:03 -0300 Subject: [PATCH] Moved scrapy/command/__init__.py to scrapy/command.py --HG-- rename : scrapy/command/__init__.py => scrapy/command.py --- scrapy/{command/__init__.py => command.py} | 2 -- scrapy/command/cmdline.py | 10 ---------- 2 files changed, 12 deletions(-) rename scrapy/{command/__init__.py => command.py} (98%) delete mode 100644 scrapy/command/cmdline.py 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()