When building an applet clear out the tempfile and dir afterwards.

This commit is contained in:
Jack Jansen 2003-02-16 21:28:51 +00:00
parent 97dede0202
commit fd3e54c68e
1 changed files with 5 additions and 0 deletions

View File

@ -472,6 +472,11 @@ class Editor(W.Window):
pass
template = buildtools.findtemplate()
buildtools.process(template, filename, destname, rsrcname=rsrcname, progress=None)
try:
os.remove(filename)
os.rmdir(tmpdir)
except os.error:
pass
def domenu_gotoline(self, *args):
self.linefield.selectall()