From 52235753521c33d4e6e36d607b7768130baf300c Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 15 Dec 2011 14:23:45 -0200 Subject: [PATCH] added comment about why we disable ssl on boto images upload --- scrapy/contrib/pipeline/images.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scrapy/contrib/pipeline/images.py b/scrapy/contrib/pipeline/images.py index aa0a7b0b44e..9250dc4f7e3 100644 --- a/scrapy/contrib/pipeline/images.py +++ b/scrapy/contrib/pipeline/images.py @@ -102,6 +102,8 @@ def _onsuccess(boto_key): def _get_boto_bucket(self): from boto.s3.connection import S3Connection + # disable ssl (is_secure=False) because of this python bug: + # http://bugs.python.org/issue5103 c = S3Connection(self.AWS_ACCESS_KEY_ID, self.AWS_SECRET_ACCESS_KEY, is_secure=False) return c.get_bucket(self.bucket, validate=False)