(self, image_id)
TODO: Docstring for delete_image_with_id

        @param image_id TODO 

        @return TODO
TODO: Docstring for delete_image_with_id
TODO : Docstring for delete_image_with_id
def delete_image_with_id(self, image_id):
        """
        TODO: Docstring for delete_image_with_id

        @param image_id TODO 

        @return TODO
        """
        basename = self.storage_path + '/' + image_id
        metadata_path = basename + METADATA_EXT
        body_path = basename + BODY_EXT
        try:
            os.remove(metadata_path)
            os.remove(body_path)
        except Exception as e:
            self.log.warn('Unable to delete file: %s' % e)
def delete_image_with_id ( self , image_id ) : basename = self . storage_path + '/' + image_id metadata_path = basename + METADATA_EXT body_path = basename + BODY_EXT try : os . remove ( metadata_path ) os . remove ( body_path ) except Exception as e : self . log . warn ( 'Unable to delete file: %s' % e )