changeset 7238:b1a9ad7b464e

zeroconf: don't break on hg showconfig
author Matt Mackall <mpm@selenic.com>
date Fri, 24 Oct 2008 11:35:47 -0500
parents b9bf36905b55
children 135003a470f3
files hgext/zeroconf/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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