mirror of https://github.com/scrapy/scrapy.git
. Modified loading of command-specific settings (were loaded as defaults, now as overrides)
. Removed duplicated loading of extensions in shell command --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40676
This commit is contained in:
parent
8029275c75
commit
307f8b3321
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue