diff mercurial/hgweb/hgwebdir_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 8afc25e7effc
children c879fc7bd71f
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py	Wed Oct 11 03:32:59 2017 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Wed Oct 11 03:36:44 2017 +0200
@@ -491,7 +491,7 @@
             if self.motd is not None:
                 yield self.motd
             else:
-                yield config('web', 'motd', '')
+                yield config('web', 'motd')
 
         def config(section, name, default=uimod._unset, untrusted=True):
             return self.ui.config(section, name, default, untrusted)