Skip to content

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

. Modified loading of command-specific settings (were loaded as defaults, now as overrides) . Removed duplicated loading of extensions in shell command

elpolilla307f8b332136
diff --git a/scrapy/trunk/scrapy/command/cmdline.py b/scrapy/trunk/scrapy/command/cmdline.py
index 0ef238448..2282fe19a 100644
--- a/scrapy/trunk/scrapy/command/cmdline.py
+++ b/scrapy/trunk/scrapy/command/cmdline.py
@@ -88,7 +88,7 @@ def command_settings(cmdname):
if basepath:
try:
module = __import__('%s.%s' % (basepath, cmdname), {}, {}, [''])
- update_defaults(settings.defaults, module)
+ update_defaults(settings.overrides, module)
except ImportError:
pass
diff --git a/scrapy/trunk/scrapy/command/commands/shell.py b/scrapy/trunk/scrapy/command/commands/shell.py
index 76f96a4ed..32bacd20b 100644
--- a/scrapy/trunk/scrapy/command/commands/shell.py
+++ b/scrapy/trunk/scrapy/command/commands/shell.py
@@ -115,10 +115,6 @@ class Command(ScrapyCommand):
print "Scrapy %s - Interactive scraping console\n" % scrapy.__version__
- print "Enabling Scrapy extensions...",
- extensions.load()
- print "done"
-
def _console_thread():
def _get_magic(shell, arg):