Submitter | phabricator |
---|---|
Date | March 8, 2021, 5:29 p.m. |
Message ID | <differential-rev-PHID-DREV-2wkf4dygmnzcmdoet4pd-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48444/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/pycompat.py b/mercurial/pycompat.py --- a/mercurial/pycompat.py +++ b/mercurial/pycompat.py @@ -510,7 +510,7 @@ # This wrapper file are always open in byte mode. def unnamedtempfile(mode=None, *args, **kwargs): if mode is None: - mode = b'w+b' + mode = 'w+b' else: mode = sysstr(mode) assert 'b' in mode