mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.7.x] Cleaned temp dir in symlinks_supported()
Refs #21482.
Backport of 18b3788401 from master.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user