def list_ignored():
 cmd = ['softwareupdate', '--list', '--ignore']
 out = salt.utils.mac_utils.execute_return_result(cmd)
 rexp = re.compile('(?m)^    ["]?([^,|\\s].*[^"|\\n|,])[,|"]?')
 return rexp.findall(out)

def list_ignored ( ) : cmd = [ 'softwareupdate' , '--list' , '--ignore' ] out = salt . utils . mac_utils . execute_return_result ( cmd ) rexp = re . compile ( '(?m)^    ["]?([^,|\\s].*[^"|\\n|,])[,|"]?' ) return rexp . findall ( out )
list all updates that have been ignored .