Show More
@@ -21,6 +21,7 b' import inspect' | |||||
21 | import os |
|
21 | import os | |
22 | import re |
|
22 | import re | |
23 | import runpy |
|
23 | import runpy | |
|
24 | import shutil | |||
24 | import subprocess |
|
25 | import subprocess | |
25 | import sys |
|
26 | import sys | |
26 | import tempfile |
|
27 | import tempfile | |
@@ -3902,7 +3903,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
3902 | del self.tempfiles |
|
3903 | del self.tempfiles | |
3903 | for tdir in self.tempdirs: |
|
3904 | for tdir in self.tempdirs: | |
3904 | try: |
|
3905 | try: | |
3905 |
tdir |
|
3906 | shutil.rmtree(tdir) | |
3906 | self.tempdirs.remove(tdir) |
|
3907 | self.tempdirs.remove(tdir) | |
3907 | except FileNotFoundError: |
|
3908 | except FileNotFoundError: | |
3908 | pass |
|
3909 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now