author | Matt Harbison <matt_harbison@yahoo.com> |
Wed, 04 Dec 2024 21:05:33 -0500 | |
changeset 52369 | 535a1e686d7f |
parent 52368 | 9746e618c151 |
child 52370 | 00f5966f0483 |
--- a/mercurial/crecord.py Wed Dec 04 21:03:05 2024 -0500 +++ b/mercurial/crecord.py Wed Dec 04 21:05:33 2024 -0500 @@ -15,9 +15,6 @@ import signal from .i18n import _ -from .pycompat import ( - open, -) from . import ( diffhelper, encoding, @@ -625,7 +622,7 @@ chunkselector.stdscr = dummystdscr() if testfn and os.path.exists(testfn): - testf = open(testfn, b'r') + testf = open(testfn, 'r') # TODO: open in binary mode? testcommands = [x.rstrip('\n') for x in testf.readlines()] testf.close()