From 04721933b48137de17b40edcfb1cb1937a27230b Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 23 Apr 2010 08:11:06 +0000 Subject: [PATCH] Remove not needed edit checks. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3497 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wizard/BProject.py b/wizard/BProject.py index c55c7803..47005c13 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -292,14 +292,12 @@ class BProject(object): self._setupAutoenabledParameters() # Copy all the configuration files self._writeCfgFiles(sources_dir, cfgdir) - if not self.edit: - # Destination user mk file (only on project creation) - self._writeUserMkFile(os.path.join(prjdir, os.path.basename(prjdir) + ".mk")) + # Destination user mk file (only on project creation) + self._writeUserMkFile(os.path.join(prjdir, os.path.basename(prjdir) + ".mk")) # Destination wizard mk file self._writeWizardMkFile(prjdir + "/" + os.path.basename(prjdir) + "_wiz.mk") # Destination main.c file - if not self.edit: - self._writeMainFile(prjdir + "/main.c") + self._writeMainFile(prjdir + "/main.c") # Files for selected plugins relevants_files = {} for plugin in self.infos["OUTPUT"]: -- 2.25.1