Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 34587:b50c036494dc
configitems: register the 'web.motd' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 03:36:44 +0200 |
parents | c364f3f73634 |
children | 0d9928a67254 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Wed Oct 11 03:32:59 2017 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Wed Oct 11 03:36:44 2017 +0200 @@ -177,7 +177,7 @@ # some functions for the templater def motd(**map): - yield self.config('web', 'motd', '') + yield self.config('web', 'motd') # figure out which style to use