ProjectController.py
changeset 1733 dea107dce0c4
parent 1732 94ffe74e6895
child 1734 750eeb7230a1
equal deleted inserted replaced
1732:94ffe74e6895 1733:dea107dce0c4
   466         # Keep track of the root confnode (i.e. project path)
   466         # Keep track of the root confnode (i.e. project path)
   467         self.ProjectPath = ProjectPath
   467         self.ProjectPath = ProjectPath
   468         self._setBuildPath(BuildPath)
   468         self._setBuildPath(BuildPath)
   469         # If dir have already be made, and file exist
   469         # If dir have already be made, and file exist
   470         if os.path.isdir(self.CTNPath()) and os.path.isfile(self.ConfNodeXmlFilePath()):
   470         if os.path.isdir(self.CTNPath()) and os.path.isfile(self.ConfNodeXmlFilePath()):
   471             #Load the confnode.xml file into parameters members
   471             # Load the confnode.xml file into parameters members
   472             result = self.LoadXMLParams()
   472             result = self.LoadXMLParams()
   473             if result:
   473             if result:
   474                 return result, False
   474                 return result, False
   475             #Load and init all the children
   475             # Load and init all the children
   476             self.LoadChildren()
   476             self.LoadChildren()
   477         self.RefreshConfNodesBlockLists()
   477         self.RefreshConfNodesBlockLists()
   478         self.UpdateButtons()
   478         self.UpdateButtons()
   479         return None, False
   479         return None, False
   480 
   480