#NEWLINE# def create( self , container ) : #NEWLINE# #INDENT# blob_service = BaseBlobService ( self . account_name , self . account_key , endpoint_suffix = self . blob_service_host_base ) #NEWLINE# try : #NEWLINE# #INDENT# blob_service . create_container ( container_name = container , fail_on_exist = True ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# raise AzureContainerCreateError ( ( '%s: %s' % ( type ( e ) . __name__ , format ( e ) ) ) ) #NEWLINE# #UNINDENT# return True