summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-06-26 20:35:18 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-06-26 20:35:18 (GMT)
commitbc5e1453417e83411b255523eac9be83764ac47f (patch)
tree8c167320b9ab3506428d95bf7ceb930f61ee6ec4 /Mac/Lib
parent7504dfedb43d483a3f53559f94266993013e79ba (diff)
downloadcpython-bc5e1453417e83411b255523eac9be83764ac47f.zip
cpython-bc5e1453417e83411b255523eac9be83764ac47f.tar.gz
cpython-bc5e1453417e83411b255523eac9be83764ac47f.tar.bz2
Close the project after generating it, so we don't keep a gazillion project
files open when we're rebuilding them all.
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/mkcwproject/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Lib/mkcwproject/__init__.py b/Mac/Lib/mkcwproject/__init__.py
index 69a1f32..ea127ee 100644
--- a/Mac/Lib/mkcwproject/__init__.py
+++ b/Mac/Lib/mkcwproject/__init__.py
@@ -61,6 +61,7 @@ def makeproject(xmlfile, projectfile):
xmlfss = macfs.FSSpec(xmlfile)
prjfss = macfs.FSSpec(projectfile)
cw.my_mkproject(prjfss, xmlfss)
+ cw.Close_Project()
def buildproject(projectfile):
cw = cwtalker.MyCodeWarrior(start=1)