Add comment.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 26 Apr 2010 15:38:41 +0000 (15:38 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 26 Apr 2010 15:38:41 +0000 (15:38 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3519 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BProject.py

index 666fd352be30172022b9865154100b38ef9e1a15..325e6490099a339a39ba819b8a5bef00a820b9d7 100644 (file)
@@ -166,6 +166,7 @@ class BProject(object):
         self.loadSourceTree()
         self._loadCpuStuff(project_data["CPU_NAME"], project_data["SELECTED_FREQ"])
         self._loadToolchainStuff(project_data["TOOLCHAIN"])
+
         # NOTE: this is a HACK!!!
         # TODO: find a better way to reuse loadModuleData
         preset_project_name = project_data.get("PROJECT_NAME", os.path.basename(preset))
@@ -185,6 +186,7 @@ class BProject(object):
         self.infos["PROJECT_NAME"] = old_project_name
         self.infos["PROJECT_PATH"] = old_project_path
         self.infos["PROJECT_SRC_PATH"] = old_project_src_path
+        # End of the ugly HACK!
 
         self.infos["PRESET_NAME"] = preset_project_name
         self.infos["PRESET_PATH"] = preset