def _GetOrCreateTargetByName(targets, target_name):
 if (target_name in targets):
  return (False, targets[target_name])
 target = Target(target_name)
 targets[target_name] = target
 return (True, target)

def _GetOrCreateTargetByName ( targets , target_name ) : if ( target_name in targets ) : return ( False , targets [ target_name ] ) target = Target ( target_name ) targets [ target_name ] = target return ( True , target )
creates or returns the target at targets[target_name] .