Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgwebdir_mod.py @ 5290:05889b6b1468
merge with crew-stable
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 07 Sep 2007 17:54:38 +0200 |
parents | 55860a45bbf2 ed6df6b1c29a |
children | 24de027551c1 |
comparison
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] |