1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-25 12:43:41 +00:00

added comment about why we disable ssl on boto images upload

This commit is contained in:
Pablo Hoffman 2011-12-15 14:23:45 -02:00
parent aea060e144
commit 023232f7d4

View File

@ -102,6 +102,8 @@ class S3ImagesStore(object):
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)