diff mercurial/hgweb/__init__.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 c51380879054
children 42567ffa10a2
line wrap: on
line diff
--- a/mercurial/hgweb/__init__.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/mercurial/hgweb/__init__.py	Sat Mar 24 15:10:51 2018 +0900
@@ -15,7 +15,10 @@
 from .. import (
     error,
     pycompat,
-    util,
+)
+
+from ..utils import (
+    procutil,
 )
 
 from . import (
@@ -51,7 +54,7 @@
         self.opts = opts
 
     def init(self):
-        util.setsignalhandler()
+        procutil.setsignalhandler()
         self.httpd = server.create_server(self.ui, self.app)
 
         if self.opts['port'] and not self.ui.verbose: