Skip to content

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

removed hacky command_executed signal

Pablo Hoffman50f2236d042d
diff --git a/scrapy/cmdline.py b/scrapy/cmdline.py
index 7ebce7bfc..a5a2cb685 100644
--- a/scrapy/cmdline.py
+++ b/scrapy/cmdline.py
@@ -10,11 +10,6 @@ from scrapy import log
from scrapy.xlib import lsprofcalltree
from scrapy.conf import settings
from scrapy.command import ScrapyCommand
-from scrapy.utils.signal import send_catch_log
-
-# Signal that carries information about the command which was executed
-# args: cmdname, cmdobj, args, opts
-command_executed = object()
def _find_commands(dir):
try:
@@ -108,8 +103,6 @@ def execute(argv=None):
settings.defaults.update(cmd.default_settings)
del args[0] # remove command name from args
- send_catch_log(signal=command_executed, cmdname=cmdname, cmdobj=cmd, \
- args=args, opts=opts)
from scrapy.core.manager import scrapymanager
scrapymanager.configure(control_reactor=True)
ret = _run_command(cmd, args, opts)