changeset 28308:4de74eda1d65

zeroconf: import ui as uimod per test-check-module-imports
author Augie Fackler <augie@google.com>
date Tue, 01 Mar 2016 13:48:25 -0500
parents 86de91c56355
children 7c22b5bb3a03
files hgext/zeroconf/__init__.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/zeroconf/__init__.py	Sat Feb 27 22:34:18 2016 -0800
+++ b/hgext/zeroconf/__init__.py	Tue Mar 01 13:48:25 2016 -0500
@@ -34,7 +34,7 @@
     encoding,
     extensions,
     hg,
-    ui,
+    ui as uimod,
 )
 from mercurial.hgweb import (
     server as servermod
@@ -206,8 +206,8 @@
 
 extensions.wrapfunction(dispatch, '_runcommand', cleanupafterdispatch)
 
-extensions.wrapfunction(ui.ui, 'config', config)
-extensions.wrapfunction(ui.ui, 'configitems', configitems)
-extensions.wrapfunction(ui.ui, 'configsuboptions', configsuboptions)
+extensions.wrapfunction(uimod.ui, 'config', config)
+extensions.wrapfunction(uimod.ui, 'configitems', configitems)
+extensions.wrapfunction(uimod.ui, 'configsuboptions', configsuboptions)
 extensions.wrapfunction(hg, 'defaultdest', defaultdest)
 extensions.wrapfunction(servermod, 'create_server', zc_create_server)