py_ext/PythonFileCTNMixin.py
changeset 1833 2269739dd098
parent 1777 c46ec818bdd7
child 1846 14b40afccd69
equal deleted inserted replaced
1832:0f1081928d65 1833:2269739dd098
    93                getattr(self.CodeFile, section).getanyText() + "\n" + \
    93                getattr(self.CodeFile, section).getanyText() + "\n" + \
    94                self.PostSectionsTexts.get(section, "")
    94                self.PostSectionsTexts.get(section, "")
    95 
    95 
    96     def CTNGenerate_C(self, buildpath, locations):
    96     def CTNGenerate_C(self, buildpath, locations):
    97         # location string for that CTN
    97         # location string for that CTN
    98         location_str = "_".join(map(lambda x: str(x),
    98         location_str = "_".join(map(str, self.GetCurrentLocation()))
    99                                 self.GetCurrentLocation()))
       
   100         configname = self.GetCTRoot().GetProjectConfigNames()[0]
    99         configname = self.GetCTRoot().GetProjectConfigNames()[0]
   101 
   100 
   102         pyextname = self.CTNName()
   101         pyextname = self.CTNName()
   103         varinfos = map(lambda variable: {
   102         varinfos = map(lambda variable: {
   104             "name": variable.getname(),
   103             "name": variable.getname(),