# HG changeset patch # User Gregory Szorc # Date 1645465004 25200 # Node ID a98e32e5fca1ad38f284c8c7151256c302ad0242 # Parent 10839394f39bee32e09329fb76a280a85f03531f windows: remove conditional for Python 3 Differential Revision: https://phab.mercurial-scm.org/D12301 diff -r 10839394f39b -r a98e32e5fca1 mercurial/windows.py --- a/mercurial/windows.py Mon Feb 21 10:35:42 2022 -0700 +++ b/mercurial/windows.py Mon Feb 21 10:36:44 2022 -0700 @@ -162,8 +162,7 @@ # PyFile_FromFd() ignores the name, and seems to report fp.name as the # underlying file descriptor. - if pycompat.ispy3: - fp = fdproxy(name, fp) + fp = fdproxy(name, fp) # The position when opening in append mode is implementation defined, so # make it consistent with other platforms, which position at EOF.