Correct svn:ignore
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 2 Apr 2009 15:38:36 +0000 (15:38 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 2 Apr 2009 15:38:36 +0000 (15:38 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2468 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/plugins/codelite_project.py

index c55c7dc4dcbee9f45ac41f8f9226b157eb377259..98737686af0055e612384fb005c7d9c31bc2211e 100644 (file)
@@ -48,7 +48,7 @@ def codeliteProjectGenerator(project_info):
     """
     Returns the string rapresenting the codelite project.
     """
-    template = open("cltemplates/bertos.project").read()
+    template = open("cltemplates/bertos.project", "r").read()
     filelist = "\n".join(clFiles(findSources(project_info.info("PROJECT_PATH")), project_info.info("PROJECT_PATH")))
     while template.find("$filelist") != -1:
         template = template.replace("$filelist", filelist)
@@ -61,7 +61,7 @@ def codeliteWorkspaceGenerator(project_info):
     """
     Returns the string rapresentig the codelite workspace.
     """
-    template = open("cltemplates/bertos.workspace").read()
+    template = open("cltemplates/bertos.workspace", "r").read()
     project_name = os.path.basename(project_info.info("PROJECT_PATH"))
     while template.find("$project") != -1:
         template = template.replace("$project", project_name)