[1.7.x] Cleaned temp dir in symlinks_supported()

Refs #21482.
Backport of 18b3788401 from master.
This commit is contained in:
Claude Paroz 2014-06-23 13:25:50 +02:00
parent f50a17785c
commit a90f0e605e
1 changed files with 2 additions and 0 deletions

View File

@ -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