def AssignScriptMaps(script_maps, target, update='replace'):
 script_map_func = ('_AssignScriptMaps' + update.capitalize())
 try:
  script_map_func = eval(script_map_func)
 except NameError:
  msg = ("Unknown ScriptMapUpdate option '%s'" % update)
  raise ConfigurationError(msg)
 script_maps = [str(s) for s in script_maps]
 script_map_func(target, script_maps)
 target.SetInfo()

def AssignScriptMaps ( script_maps , target , update = 'replace' ) : script_map_func = ( '_AssignScriptMaps' + update . capitalize ( ) ) try : script_map_func = eval ( script_map_func ) except NameError : msg = ( "Unknown ScriptMapUpdate option '%s'" % update ) raise ConfigurationError ( msg ) script_maps = [ str ( s ) for s in script_maps ] script_map_func ( target , script_maps ) target . SetInfo ( )
updates iis with the supplied script map information .