Skip to content

Commit

Permalink
Simplify pypy workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jun 9, 2024
1 parent 58015fe commit 7800c85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ubelt/util_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,6 @@ def _patch_win32_stats_on_pypy():
[PyPyDiscuss4952] https://github.com/orgs/pypy/discussions/4952#discussioncomment-9481845
"""
if not hasattr(stat, 'IO_REPARSE_TAG_MOUNT_POINT'):
os.supports_follow_symlinks.add("stat")
os.supports_follow_symlinks.add(os.stat)
stat.IO_REPARSE_TAG_APPEXECLINK = 0x8000001b # windows
stat.IO_REPARSE_TAG_MOUNT_POINT = 0xa0000003 # windows
Expand Down

0 comments on commit 7800c85

Please sign in to comment.