targets/__init__.py
changeset 1739 ec153828ded2
parent 1736 7e61baa047f0
child 1740 b789b695b5c6
equal deleted inserted replaced
1738:d2e979738700 1739:ec153828ded2
    64 def GetTargetChoices():
    64 def GetTargetChoices():
    65     DictXSD_toolchain = {}
    65     DictXSD_toolchain = {}
    66     targetchoices = ""
    66     targetchoices = ""
    67 
    67 
    68     # Get all xsd toolchains
    68     # Get all xsd toolchains
    69     for toolchainname,xsdfilename in toolchains.iteritems() :
    69     for toolchainname,xsdfilename in toolchains.iteritems():
    70          if path.isfile(xsdfilename):
    70          if path.isfile(xsdfilename):
    71              DictXSD_toolchain["toolchain_"+toolchainname] = \
    71              DictXSD_toolchain["toolchain_"+toolchainname] = \
    72                 open(xsdfilename).read()
    72                 open(xsdfilename).read()
    73 
    73 
    74     # Get all xsd targets
    74     # Get all xsd targets