1
0
mirror of https://github.com/django/django.git synced 2025-04-22 00:04:43 +00:00

[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

View File

@ -120,4 +120,6 @@ def symlinks_supported():
else:
os.remove(symlink_path)
finally:
os.rmdir(original_path)
os.rmdir(tmpdir)
return supported