# HG changeset patch # User Augie Fackler # Date 2016-03-01 18:48:25 # Node ID 4de74eda1d65c975e3b76e3eb392bbbfcb415e04 # Parent 86de91c56355085d15ff7239fa439d2109cfb4b4 zeroconf: import ui as uimod per test-check-module-imports diff --git a/hgext/zeroconf/__init__.py b/hgext/zeroconf/__init__.py --- a/hgext/zeroconf/__init__.py +++ b/hgext/zeroconf/__init__.py @@ -34,7 +34,7 @@ from mercurial import ( encoding, extensions, hg, - ui, + ui as uimod, ) from mercurial.hgweb import ( server as servermod @@ -206,8 +206,8 @@ def cleanupafterdispatch(orig, ui, optio 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)