changeset 52380 | f94efae47eb3 |
parent 51922 | 70fe33bdab54 |
child 52577 | a58f7f809fa5 |
--- a/mercurial/match.py Wed Dec 04 22:13:05 2024 -0500 +++ b/mercurial/match.py Wed Dec 04 22:14:15 2024 -0500 @@ -24,7 +24,6 @@ ) from .i18n import _ -from .pycompat import open from . import ( encoding, error, @@ -1737,7 +1736,7 @@ syntax = b'relre:' patterns = [] - fp = open(filepath, b'rb') + fp = open(filepath, 'rb') for lineno, line in enumerate(fp, start=1): if b"#" in line: global _commentre