From: duplo Date: Fri, 23 Apr 2010 08:11:06 +0000 (+0000) Subject: Remove not needed edit checks. X-Git-Tag: 2.5.0~411 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=04721933b48137de17b40edcfb1cb1937a27230b;p=bertos.git Remove not needed edit checks. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3497 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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"]: