Mercurial > hg
diff mercurial/worker.py @ 36835:5bc7ff103081
py3: use r'' instead of sysstr('') to get around code transformer
Fewer function calls should be better.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 10 Mar 2018 15:57:16 +0900 |
parents | 44fd4cfc6c0a |
children | 8fb9985382be |
line wrap: on
line diff
--- a/mercurial/worker.py Sat Mar 10 15:50:09 2018 +0900 +++ b/mercurial/worker.py Sat Mar 10 15:57:16 2018 +0900 @@ -176,7 +176,7 @@ os._exit(ret & 255) pids.add(pid) os.close(wfd) - fp = os.fdopen(rfd, pycompat.sysstr('rb'), 0) + fp = os.fdopen(rfd, r'rb', 0) def cleanup(): signal.signal(signal.SIGINT, oldhandler) waitforworkers()