def delete_if_exists(path):
    """Delete a file, but ignore file not found error.

    :param path: File to delete
    """

    try:
        os.unlink(path)
    except __HOLE__ as e:
        if e.errno == errno.ENOENT:
            return
        else:
            raise
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/openstack/common/fileutils.py/delete_if_exists