mercurial/hgweb/hgwebdir_mod.py
changeset 5290 05889b6b1468
parent 5197 55860a45bbf2
parent 5289 ed6df6b1c29a
child 5336 24de027551c1
equal deleted inserted replaced
5288:18091102a633 5290:05889b6b1468
    80             if self.motd is not None:
    80             if self.motd is not None:
    81                 yield self.motd
    81                 yield self.motd
    82             else:
    82             else:
    83                 yield config('web', 'motd', '')
    83                 yield config('web', 'motd', '')
    84 
    84 
    85         parentui = self.parentui or ui.ui(report_untrusted=False)
    85         parentui = self.parentui or ui.ui(report_untrusted=False,
       
    86                                           interactive=False)
    86 
    87 
    87         def config(section, name, default=None, untrusted=True):
    88         def config(section, name, default=None, untrusted=True):
    88             return parentui.config(section, name, default, untrusted)
    89             return parentui.config(section, name, default, untrusted)
    89 
    90 
    90         url = req.env['REQUEST_URI'].split('?')[0]
    91         url = req.env['REQUEST_URI'].split('?')[0]