From d7cb2b9a918dcf4cf4594a05c0c1a3b88fdca413 Mon Sep 17 00:00:00 2001 From: Elias Dorneles Date: Thu, 19 Mar 2015 15:41:43 -0300 Subject: [PATCH] making commented code indentation consistent --- .../templates/project/module/settings.py.tmpl | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/scrapy/templates/project/module/settings.py.tmpl b/scrapy/templates/project/module/settings.py.tmpl index 302d96b17..37cbb4d32 100644 --- a/scrapy/templates/project/module/settings.py.tmpl +++ b/scrapy/templates/project/module/settings.py.tmpl @@ -19,7 +19,7 @@ NEWSPIDER_MODULE = '$project_name.spiders' #USER_AGENT = '$project_name (+http://www.yourdomain.com)' # Configure maximum concurrent requests performed by Scrapy (default: 16) -# CONCURRENT_REQUESTS=32 +#CONCURRENT_REQUESTS=32 # Configure a delay for requests for the same website (default: 0) # See http://scrapy.readthedocs.org/en/latest/topics/settings.html#download-delay @@ -30,40 +30,40 @@ NEWSPIDER_MODULE = '$project_name.spiders' #CONCURRENT_REQUESTS_PER_IP=16 # Disable cookies (enabled by default) -# COOKIES_ENABLED=False +#COOKIES_ENABLED=False # Disable Telnet Console (enabled by default) -# TELNETCONSOLE_ENABLED=False +#TELNETCONSOLE_ENABLED=False # Override the default request headers: -# DEFAULT_REQUEST_HEADERS = { -# 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', -# 'Accept-Language': 'en', -# } +#DEFAULT_REQUEST_HEADERS = { +# 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', +# 'Accept-Language': 'en', +#} # Enable or disable spider middlewares # See http://scrapy.readthedocs.org/en/latest/topics/spider-middleware.html -# SPIDER_MIDDLEWARES = { -# '$project_name.middlewares.MyCustomSpiderMiddleware': 543, -# } +#SPIDER_MIDDLEWARES = { +# '$project_name.middlewares.MyCustomSpiderMiddleware': 543, +#} # Enable or disable downloader middlewares # See http://scrapy.readthedocs.org/en/latest/topics/downloader-middleware.html -# DOWNLOADER_MIDDLEWARES = { -# '$project_name.middlewares.MyCustomDownloaderMiddleware': 543, -# } +#DOWNLOADER_MIDDLEWARES = { +# '$project_name.middlewares.MyCustomDownloaderMiddleware': 543, +#} # Enable or disable extensions # See http://scrapy.readthedocs.org/en/latest/topics/extensions.html -# EXTENSIONS = { -# 'scrapy.telnet.TelnetConsole': None, -# } +#EXTENSIONS = { +# 'scrapy.telnet.TelnetConsole': None, +#} # Configure item pipelines # See http://scrapy.readthedocs.org/en/latest/topics/item-pipeline.html -# ITEM_PIPELINES = { -# '$project_name.pipelines.SomePipeline': 300, -# } +#ITEM_PIPELINES = { +# '$project_name.pipelines.SomePipeline': 300, +#} # Enable and configure the AutoThrottle extension (disabled by default) # See http://doc.scrapy.org/en/latest/topics/autothrottle.html