def open(self):    
        
        key = msettings['AWS_KEY']
        secret = msettings['AWS_SECRET']
        
        try:
            self._conn = S3Connection(key, secret)
        except __HOLE__:
            raise ImproperlyConfigured("S3 keys not set and no boto config found.")
                
        self._bucket = self._conn.create_bucket(self.aws_bucket)
dataset/ETHPy150Open sunlightlabs/django-mediasync/mediasync/backends/s3.py/Client.open