mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
When building an applet clear out the tempfile and dir afterwards.
This commit is contained in:
parent
97dede0202
commit
fd3e54c68e
1 changed files with 5 additions and 0 deletions
|
@ -472,6 +472,11 @@ class Editor(W.Window):
|
||||||
pass
|
pass
|
||||||
template = buildtools.findtemplate()
|
template = buildtools.findtemplate()
|
||||||
buildtools.process(template, filename, destname, rsrcname=rsrcname, progress=None)
|
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):
|
def domenu_gotoline(self, *args):
|
||||||
self.linefield.selectall()
|
self.linefield.selectall()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue