

def delete_mediafile(self, name=None):
    if (name is None):
        name = self.file.name
    try:
        self.file.storage.delete(name)
    except Exception as e:
        logger.warn(('Cannot delete media file %s: %s' % (e, e)))

dataset/ETHPy150Open feincms/feincms/feincms/module/medialibrary/models.py MediaFileBase.delete_mediafile/VarMisuse@63/84 `name`->`e`