From: duplo Date: Mon, 3 May 2010 13:08:40 +0000 (+0000) Subject: This commit should fix the ToolchainException when the user is trying to load a preset. X-Git-Tag: 2.5.0~312 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a36c0cb79351705c06bd483c9977adf48c11143a;p=bertos.git This commit should fix the ToolchainException when the user is trying to load a preset. 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 --- diff --git a/wizard/BProject.py b/wizard/BProject.py index 125a2936..f001e725 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -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