use correct boto s3 connect function
@@ -272,7 +272,7 @@ def check_cdn_buckets():
buckets = []
for bucket_name, bucket_region in [('cdn.bokeh.org', 'us-east-1'), ('cdn-backup.bokeh.org', 'us-west-2')]:
try:
- conn = boto.connect_s3(bucket_region,
+ conn = boto.s3.connect_to_region(bucket_region,
aws_access_key_id=AWS_ACCESS_KEY_ID,
aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
calling_format=boto.s3.connection.OrdinaryCallingFormat())
