Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-10-30 20:24:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-10-30 20:26:54 +0300
commit47faf618a6ff220ad88798b4ab84fb542cf1362c (patch)
tree1918d01cc83de902e8a965f1c72f556cb8cc6c03 /build_files/cmake/cmake_netbeans_project.py
parenta634bcbdb4bf9116c3ab7a3d73a24a701f2dfdac (diff)
Fix project-file generators (didn't close files)
Diffstat (limited to 'build_files/cmake/cmake_netbeans_project.py')
-rwxr-xr-xbuild_files/cmake/cmake_netbeans_project.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/cmake/cmake_netbeans_project.py b/build_files/cmake/cmake_netbeans_project.py
index fc6c64db1cd..81b1a460f67 100755
--- a/build_files/cmake/cmake_netbeans_project.py
+++ b/build_files/cmake/cmake_netbeans_project.py
@@ -125,6 +125,8 @@ def create_nb_project_main():
f.write(' </configuration>\n')
f.write('</project>\n')
+ f.close()
+
f = open(join(PROJECT_DIR_NB, "configurations.xml"), 'w')
f.write('<?xml version="1.0" encoding="UTF-8"?>\n')
@@ -243,6 +245,8 @@ def create_nb_project_main():
f.write('</configurationDescriptor>\n')
+ f.close()
+
def main():
create_nb_project_main()