]> granicus.if.org Git - python/commitdiff
Close the project after generating it, so we don't keep a gazillion project
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 26 Jun 2002 20:35:18 +0000 (20:35 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 26 Jun 2002 20:35:18 +0000 (20:35 +0000)
files open when we're rebuilding them all.

Mac/Lib/mkcwproject/__init__.py

index 69a1f32c9f15d76c7fb85f2342897043d4ebb766..ea127eea59646db2f6f66ca56180021a0190e276 100644 (file)
@@ -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)