Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed bug when no project module setting is defined
Pablo Hoffman467dbef20e91
diff --git a/scrapy/command/cmdline.py b/scrapy/command/cmdline.pyindex d900a537c..c0e4a6ad2 100644--- a/scrapy/command/cmdline.py+++ b/scrapy/command/cmdline.py@@ -61,6 +61,8 @@ def usage(prog):return sdef update_default_settings(module, cmdname):+ if not module:+ returntry:mod = __import__('%s.%s' % (module, cmdname), {}, {}, [''])except ImportError: