Skip to content

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

moved scrapy.command.commands module to scrapy.commands

Pablo Hoffman56abafec61fd
diff --git a/scrapy/command/cmdline.py b/scrapy/command/cmdline.py
index 1a190549d..2fe790a32 100644
--- a/scrapy/command/cmdline.py
+++ b/scrapy/command/cmdline.py
@@ -36,7 +36,7 @@ def _get_commands_from_module(module):
return d
def _get_commands_dict():
- cmds = _get_commands_from_module('scrapy.command.commands')
+ cmds = _get_commands_from_module('scrapy.commands')
cmds_module = settings['COMMANDS_MODULE']
if cmds_module:
cmds.update(_get_commands_from_module(cmds_module))
diff --git a/scrapy/command/commands/__init__.py b/scrapy/commands/__init__.py
similarity index 100%
rename from scrapy/command/commands/__init__.py
rename to scrapy/commands/__init__.py
diff --git a/scrapy/command/commands/crawl.py b/scrapy/commands/crawl.py
similarity index 100%
rename from scrapy/command/commands/crawl.py
rename to scrapy/commands/crawl.py
diff --git a/scrapy/command/commands/fetch.py b/scrapy/commands/fetch.py
similarity index 100%
rename from scrapy/command/commands/fetch.py
rename to scrapy/commands/fetch.py
diff --git a/scrapy/command/commands/genspider.py b/scrapy/commands/genspider.py
similarity index 100%
rename from scrapy/command/commands/genspider.py
rename to scrapy/commands/genspider.py
diff --git a/scrapy/command/commands/list.py b/scrapy/commands/list.py
similarity index 100%
rename from scrapy/command/commands/list.py
rename to scrapy/commands/list.py
diff --git a/scrapy/command/commands/parse.py b/scrapy/commands/parse.py
similarity index 100%
rename from scrapy/command/commands/parse.py
rename to scrapy/commands/parse.py
diff --git a/scrapy/command/commands/runspider.py b/scrapy/commands/runspider.py
similarity index 100%
rename from scrapy/command/commands/runspider.py
rename to scrapy/commands/runspider.py
diff --git a/scrapy/command/commands/settings.py b/scrapy/commands/settings.py
similarity index 100%
rename from scrapy/command/commands/settings.py
rename to scrapy/commands/settings.py
diff --git a/scrapy/command/commands/shell.py b/scrapy/commands/shell.py
similarity index 100%
rename from scrapy/command/commands/shell.py
rename to scrapy/commands/shell.py
diff --git a/scrapy/command/commands/start.py b/scrapy/commands/start.py
similarity index 100%
rename from scrapy/command/commands/start.py
rename to scrapy/commands/start.py
diff --git a/scrapy/command/commands/startproject.py b/scrapy/commands/startproject.py
similarity index 100%
rename from scrapy/command/commands/startproject.py
rename to scrapy/commands/startproject.py