From e06836ff485fa1ce2939d8ea446519917bfa24bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Tue, 25 Jun 2013 14:34:43 -0300 Subject: [PATCH] fix import of deprecated http handler for S3 handler --- scrapy/core/downloader/handlers/s3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapy/core/downloader/handlers/s3.py b/scrapy/core/downloader/handlers/s3.py index 4c335e2c6..86fa99df6 100644 --- a/scrapy/core/downloader/handlers/s3.py +++ b/scrapy/core/downloader/handlers/s3.py @@ -1,7 +1,7 @@ from scrapy import optional_features from scrapy.exceptions import NotConfigured from scrapy.utils.httpobj import urlparse_cached -from .http import HttpDownloadHandler +from .http import HTTPDownloadHandler try: from boto.s3.connection import S3Connection @@ -30,7 +30,7 @@ else: class S3DownloadHandler(object): def __init__(self, settings, aws_access_key_id=None, aws_secret_access_key=None, \ - httpdownloadhandler=HttpDownloadHandler): + httpdownloadhandler=HTTPDownloadHandler): if 'boto' not in optional_features: raise NotConfigured("missing boto library")