author | Matt Harbison <matt_harbison@yahoo.com> |
Wed, 04 Dec 2024 20:43:20 -0500 | |
changeset 52361 | 07a5a249faf8 |
parent 52360 | fca7d38e040b |
child 52362 | 7ac8fdb70bae |
--- a/mercurial/utils/procutil.py Wed Dec 04 19:50:32 2024 -0500 +++ b/mercurial/utils/procutil.py Wed Dec 04 20:43:20 2024 -0500 @@ -24,9 +24,6 @@ ) from ..i18n import _ -from ..pycompat import ( - open, -) from .. import ( encoding, @@ -343,7 +340,7 @@ raise error.Abort( _(b"command '%s' failed: %s") % (cmd, explainexit(code)) ) - with open(outname, b'rb') as fp: + with open(outname, 'rb') as fp: return fp.read() finally: try: