def _FilterActionsFromExcluded(excluded_sources, actions_to_add):
 must_keep = OrderedSet(_FixPaths(actions_to_add.keys()))
 return [s for s in excluded_sources if (s not in must_keep)]

def _FilterActionsFromExcluded ( excluded_sources , actions_to_add ) : must_keep = OrderedSet ( _FixPaths ( actions_to_add . keys ( ) ) ) return [ s for s in excluded_sources if ( s not in must_keep ) ]
take inputs with actions attached out of the list of exclusions .