Kaydet (Commit) 57160d72 authored tarafından Brian Curtin's avatar Brian Curtin

Fix #9333 on Windows XP, where os.symlink is not a possibility.

üst 80e788a5
......@@ -1422,7 +1422,7 @@ def can_symlink():
try:
os.symlink(TESTFN, TESTFN + "can_symlink")
can = True
except OSError:
except (OSError, NotImplementedError):
can = False
_can_symlink = can
return can
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment