Mercurial > hg
changeset 34226:cf08aaaea7f0
web: use '_unset' default value for proxy config method
This special value is needed to make sure registered default value are taken in
account.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 15 Sep 2017 19:21:08 +0200 |
parents | d43340bec0f5 |
children | ac96ff471c9a |
files | mercurial/hgweb/hgwebdir_mod.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Sat Sep 16 11:48:05 2017 -0400 +++ b/mercurial/hgweb/hgwebdir_mod.py Fri Sep 15 19:21:08 2017 +0200 @@ -491,7 +491,7 @@ else: yield config('web', 'motd', '') - def config(section, name, default=None, untrusted=True): + def config(section, name, default=uimod._unset, untrusted=True): return self.ui.config(section, name, default, untrusted) self.updatereqenv(req.env)