Remove not needed edit checks.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 23 Apr 2010 08:11:06 +0000 (08:11 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 23 Apr 2010 08:11:06 +0000 (08:11 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3497 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BProject.py

index c55c7803144d104ea4006cbf27f7769ae818644b..47005c13737caa128bfc8107c5cf1de328e02103 100644 (file)
@@ -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"]: