def connect_s3(self):
    self.out('- Connecting to S3 and making bucket.\n')
    self.s3 = boto.connect_s3()
    self.bucket = self.s3.create_bucket(self.bucket_name)
    self.bucket = self.s3.get_bucket(self.bucket_name)
    self.bucket.set_acl(self.default_acl)
    self.bucket.set_cors(self.default_cors)
Makes connection to S3 and gets the bucket to work in.
dataset/ETHPy150Open MinnPost/mbtiles2s3/mbtiles2s3/mbtiles2s3.py/MBTiles2S3.connect_s3