diff mercurial/hgweb/wsgicgi.py @ 37120: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 d4a2e0d5d042
children 2d5b5bcc3b9f
line wrap: on
line diff
--- a/mercurial/hgweb/wsgicgi.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/mercurial/hgweb/wsgicgi.py	Sat Mar 24 15:10:51 2018 +0900
@@ -12,7 +12,6 @@
 
 from .. import (
     encoding,
-    util,
 )
 
 from ..utils import (
@@ -24,8 +23,8 @@
 )
 
 def launch(application):
-    util.setbinary(procutil.stdin)
-    util.setbinary(procutil.stdout)
+    procutil.setbinary(procutil.stdin)
+    procutil.setbinary(procutil.stdout)
 
     environ = dict(encoding.environ.iteritems())
     environ.setdefault(r'PATH_INFO', '')