Skip to content

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

fix helpers used to sign S3 requests with boto connections

Daniel Graña7af94be3a9e6
diff --git a/scrapy/core/downloader/handlers/s3.py b/scrapy/core/downloader/handlers/s3.py
index 4986464a6..4c335e2c6 100644
--- a/scrapy/core/downloader/handlers/s3.py
+++ b/scrapy/core/downloader/handlers/s3.py
@@ -15,7 +15,7 @@ class _v19_S3Connection(S3Connection):
class _v20_S3Connection(S3Connection):
"""A dummy S3Connection wrapper that doesn't do any syncronous download"""
- def _mexe(self, http_request, *args):
+ def _mexe(self, http_request, *args, **kwargs):
http_request.authorize(connection=self)
return http_request.headers