diff mercurial/hgweb/hgwebdir_mod.py @ 12696:ef969e58a394

hgweb: another fix for the help termwidth bug
author Matt Mackall <mpm@selenic.com>
date Sun, 10 Oct 2010 17:35:28 -0500
parents 1b1a9038a71a
children 86888ae9ce90
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Oct 10 12:21:49 2010 -0500
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Oct 10 17:35:28 2010 -0500
@@ -58,7 +58,7 @@
         if self.baseui:
             u = self.baseui.copy()
         else:
-            u = webutil.wsgiui()
+            u = ui.ui()
             u.setconfig('ui', 'report_untrusted', 'off')
             u.setconfig('ui', 'interactive', 'off')