mercurial/hgweb/hgwebdir_mod.py
changeset 12691 1b1a9038a71a
parent 12690 94e7bd38d9a3
child 12696 ef969e58a394
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Oct 10 10:07:17 2010 -0500
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Oct 10 10:42:44 2010 -0500
@@ -41,11 +41,6 @@
             repos.append((name, path))
     return repos
 
-class wsgiui(ui.ui):
-    # default termwidth breaks under mod_wsgi
-    def termwidth(self):
-        return 80
-
 class hgwebdir(object):
     refreshinterval = 20
 
@@ -63,7 +58,7 @@
         if self.baseui:
             u = self.baseui.copy()
         else:
-            u = wsgiui()
+            u = webutil.wsgiui()
             u.setconfig('ui', 'report_untrusted', 'off')
             u.setconfig('ui', 'interactive', 'off')