[1.7.x] Cleaned temp dir in symlinks_supported()
Refs #21482.
Backport of 18b3788401
from master.
This commit is contained in:
parent
f50a17785c
commit
a90f0e605e
|
@ -120,4 +120,6 @@ def symlinks_supported():
|
||||||
else:
|
else:
|
||||||
os.remove(symlink_path)
|
os.remove(symlink_path)
|
||||||
finally:
|
finally:
|
||||||
|
os.rmdir(original_path)
|
||||||
|
os.rmdir(tmpdir)
|
||||||
return supported
|
return supported
|
||||||
|
|
Loading…
Reference in New Issue