Scrapy, a fast high-level web crawling & scraping framework for Python.
Remove single-use variable
Eugenio Lacuesta1785095707de
diff --git a/scrapy/core/downloader/handlers/http11.py b/scrapy/core/downloader/handlers/http11.pyindex e904cbc05..a5b03a62b 100644--- a/scrapy/core/downloader/handlers/http11.py+++ b/scrapy/core/downloader/handlers/http11.py@@ -426,12 +426,11 @@ class ScrapyAgent(object):return ddef _cb_bodydone(self, result, request, url):- status = int(result["txresponse"].code)headers = Headers(result["txresponse"].headers.getAllRawHeaders())respcls = responsetypes.from_args(headers=headers, url=url, body=result["body"])return respcls(url=url,- status=status,+ status=int(result["txresponse"].code),headers=headers,body=result["body"],flags=result["flags"],