Skip to content

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

Styling nitpick :-)

Eugenio Lacuestae3e804cfb0fc
diff --git a/scrapy/core/downloader/middleware.py b/scrapy/core/downloader/middleware.py
index a8e6f93a3..7a6a4dfac 100644
--- a/scrapy/core/downloader/middleware.py
+++ b/scrapy/core/downloader/middleware.py
@@ -41,7 +41,7 @@ class DownloaderMiddlewareManager(MiddlewareManager):
(six.get_method_self(method).__class__.__name__, response.__class__.__name__))
if response:
defer.returnValue(response)
- defer.returnValue((yield download_func(request=request,spider=spider)))
+ defer.returnValue((yield download_func(request=request, spider=spider)))
@defer.inlineCallbacks
def process_response(response):