zeroconf: don't break on hg showconfig

This commit is contained in:
Matt Mackall 2008-10-24 11:35:47 -05:00
parent 566c5d9e55
commit 6ccb6c0637

View File

@ -122,8 +122,8 @@ def config(orig, self, section, key, default=None, untrusted=False):
return p
return orig(self, section, key, default, untrusted)
def configitems(orig, self, section):
r = orig(self, section, untrusted=False)
def configitems(orig, self, section, untrusted=False):
r = orig(self, section, untrusted)
if section == "paths":
r += getzcpaths()
return r