changeset 36835 | 5bc7ff103081 |
parent 35652 | 40da2d7b4871 |
child 36940 | b0ffcb540357 |
--- a/mercurial/commandserver.py Sat Mar 10 15:50:09 2018 +0900 +++ b/mercurial/commandserver.py Sat Mar 10 15:57:16 2018 +0900 @@ -303,8 +303,8 @@ ui.flush() newfiles = [] nullfd = os.open(os.devnull, os.O_RDWR) - for f, sysf, mode in [(ui.fin, util.stdin, pycompat.sysstr('rb')), - (ui.fout, util.stdout, pycompat.sysstr('wb'))]: + for f, sysf, mode in [(ui.fin, util.stdin, r'rb'), + (ui.fout, util.stdout, r'wb')]: if f is sysf: newfd = os.dup(f.fileno()) os.dup2(nullfd, f.fileno())