mirror of https://github.com/python/cpython
When building an applet clear out the tempfile and dir afterwards.
This commit is contained in:
parent
97dede0202
commit
fd3e54c68e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue