From cbab86a82f402efb40ac0caaf22516d899e78fe9 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 26 Apr 2010 16:03:08 +0000 Subject: [PATCH] Use PRESET_NAME instead of PROJECT_NAME when creating a project from a preset (to remove preset unuseful files). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3520 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wizard/BProject.py b/wizard/BProject.py index 325e6490..cacca853 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -443,10 +443,10 @@ class BProject(object): # Files to be ignored (all project files, cfg dir, wizard mk file, all global ignored dirs) project_related_stuff = ( "cfg", - self.infos["PROJECT_NAME"] + "_wiz.mk", + self.infos["PRESET_NAME"] + "_wiz.mk", "project.bertos", - self.infos["PROJECT_NAME"] + ".project", - self.infos["PROJECT_NAME"] + ".workspace", + self.infos["PRESET_NAME"] + ".project", + self.infos["PRESET_NAME"] + ".workspace", ) + const.IGNORE_LIST for element in os.listdir(origin): if element not in project_related_stuff: -- 2.25.1