Skip to content

Commit

Permalink
added comment about why we disable ssl on boto images upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohoffman authored and dangra committed Dec 15, 2011
1 parent 63d583d commit 5223575
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scrapy/contrib/pipeline/images.py
Expand Up @@ -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)

Expand Down

0 comments on commit 5223575

Please sign in to comment.