Python 2 compat tweaks

This commit is contained in:
Valentin Niess
2024-10-11 11:03:22 +02:00
parent c8fde2906a
commit ea671fe7ed
2 changed files with 29 additions and 12 deletions

View File

@@ -20,5 +20,6 @@ def TemporaryDirectory():
try:
yield tmpdir
finally:
debug('REMOVE', tmpdir)
os.chdir(pwd)
remove_tree(tmpdir)