mercurial/hgweb/hgwebdir_mod.py
changeset 33328 c8f212cb0c83
parent 32788 eede022fc142
child 34022 d5b2beca16c0
child 34193 734983de2291
--- a/mercurial/hgweb/hgwebdir_mod.py	Fri Jul 07 00:13:53 2017 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Mon Jul 03 13:04:35 2017 +0200
@@ -404,7 +404,7 @@
                 except Exception as e:
                     u.warn(_('error reading %s/.hg/hgrc: %s\n') % (path, e))
                     continue
-                def get(section, name, default=None):
+                def get(section, name, default=uimod._unset):
                     return u.config(section, name, default, untrusted=True)
 
                 if u.configbool("web", "hidden", untrusted=True):