Fix project-file generators (didn't close files)

This commit is contained in:
2014-10-30 18:24:57 +01:00
parent a634bcbdb4
commit 47faf618a6
2 changed files with 38 additions and 33 deletions

View File

@@ -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()