zeroconf: don't break on hg showconfig
authorMatt Mackall <mpm@selenic.com>
Fri, 24 Oct 2008 11:35:47 -0500
changeset 7238 b1a9ad7b464e
parent 7237 b9bf36905b55
child 7239 135003a470f3
zeroconf: don't break on hg showconfig
hgext/zeroconf/__init__.py
--- a/hgext/zeroconf/__init__.py	Fri Oct 24 16:20:53 2008 +0200
+++ b/hgext/zeroconf/__init__.py	Fri Oct 24 11:35:47 2008 -0500
@@ -122,8 +122,8 @@
                 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