Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireprotoserver.py @ 37123:a8a902d7176e
procutil: bulk-replace function calls to point to new module
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 24 Mar 2018 15:10:51 +0900 |
parents | 884a0c1604ad |
children | aaabd709df72 |
line wrap: on
line diff
--- a/mercurial/wireprotoserver.py Sat Mar 24 15:09:33 2018 +0900 +++ b/mercurial/wireprotoserver.py Sat Mar 24 15:10:51 2018 +0900 @@ -22,6 +22,9 @@ wireprotoframing, wireprototypes, ) +from .utils import ( + procutil, +) stringio = util.stringio @@ -1030,8 +1033,8 @@ ui.fout = repo.ui.fout = ui.ferr # Prevent insertion/deletion of CRs - util.setbinary(self._fin) - util.setbinary(self._fout) + procutil.setbinary(self._fin) + procutil.setbinary(self._fout) def serve_forever(self): self.serveuntil(threading.Event())