mercurial/dispatch.py
changeset 10651 5f091fc1bab7
parent 10564 6ded6243bde2
child 10795 8f4c95368313
--- a/mercurial/dispatch.py	Thu Mar 11 15:52:17 2010 +0100
+++ b/mercurial/dispatch.py	Thu Mar 11 17:43:44 2010 +0100
@@ -9,7 +9,7 @@
 import os, sys, atexit, signal, pdb, socket, errno, shlex, time
 import util, commands, hg, fancyopts, extensions, hook, error
 import cmdutil, encoding
-import ui as _ui
+import ui as uimod
 
 def run():
     "run the command in sys.argv"
@@ -18,7 +18,7 @@
 def dispatch(args):
     "run the command specified in args"
     try:
-        u = _ui.ui()
+        u = uimod.ui()
         if '--traceback' in args:
             u.setconfig('ui', 'traceback', 'on')
     except util.Abort, inst: