Browse Source

Forgot a close() call

rdb 16 years ago
parent
commit
420d5a129c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      makepanda/makepanda.py

+ 1 - 0
makepanda/makepanda.py

@@ -4811,6 +4811,7 @@ def MakeInstallerOSX():
     print >>preflight, "bpfile = open(bash_profile, 'w')"
     print >>preflight, "bpfile.write(newbpdata)"
     print >>preflight, "bpfile.close()"
+    preflight.close()
     oscmd("chmod +x dstroot/scripts/uninstall16/preflight")
     
     oscmd("chmod -R 0775 dstroot/*")