This commit should fix the ToolchainException when the user is trying to load a preset.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 3 May 2010 13:08:40 +0000 (13:08 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 3 May 2010 13:08:40 +0000 (13:08 +0000)
NOTE: this fix should be tested creating a project from a preset with different toolchains.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3596 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BProject.py

index 125a2936c51fcb0e9133ab7abe819541fe6eddd4..f001e725b30741badcedb83c462b4b0aa763f2e8 100644 (file)
@@ -162,7 +162,6 @@ class BProject(object):
         project_data = pickle.loads(open(project_file, "r").read())
         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