changeset 36835 | 5bc7ff103081 |
parent 35833 | 87b085a4f9d1 |
child 37331 | c68262401c8c |
--- a/mercurial/bundlerepo.py Sat Mar 10 15:50:09 2018 +0900 +++ b/mercurial/bundlerepo.py Sat Mar 10 15:57:16 2018 +0900 @@ -349,7 +349,7 @@ suffix=suffix) self.tempfile = temp - with os.fdopen(fdtemp, pycompat.sysstr('wb')) as fptemp: + with os.fdopen(fdtemp, r'wb') as fptemp: fptemp.write(header) while True: chunk = readfn(2**18)