def FindQualifiedTargets(target, qualified_list):
 return [t for t in qualified_list if (ParseQualifiedTarget(t)[1] == target)]

def FindQualifiedTargets ( target , qualified_list ) : return [ t for t in qualified_list if ( ParseQualifiedTarget ( t ) [ 1 ] == target ) ]
given a list of qualified targets .