

def list_ignored():
    "\n    List all updates that have been ignored. Ignored updates are shown\n    without the '-' and version number at the end, this is how the\n    softwareupdate command works.\n\n    :return: The list of ignored updates\n    :rtype: list\n\n    CLI Example:\n\n    .. code-block:: bash\n\n       salt '*' softwareupdate.list_ignored\n    "
    cmd = ['softwareupdate', '--list', '--ignore']
    out = salt.utils.mac_utils.execute_return_result(cmd)
    rexp = re.compile('(?m)^    ["]?([^,|\\s].*[^"|\\n|,])[,|"]?')
    return rexp.findall(out)

dataset/ETHPy150Open saltstack/salt/salt/modules/mac_softwareupdate.py list_ignored/original