mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
zeroconf: don't break on hg showconfig
This commit is contained in:
parent
566c5d9e55
commit
6ccb6c0637
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user