hgext/zeroconf/__init__.py
branchstable
changeset 28038 72f2a19c5f88
parent 27910 d2c5ad3deccb
child 28250 6d0d11731e1c
--- a/hgext/zeroconf/__init__.py	Fri Feb 05 01:56:46 2016 +0000
+++ b/hgext/zeroconf/__init__.py	Wed Feb 10 22:53:17 2016 +0900
@@ -163,8 +163,8 @@
                 return path
     return orig(self, section, key, default, untrusted)
 
-def configitems(orig, self, section, untrusted=False):
-    repos = orig(self, section, untrusted)
+def configitems(orig, self, section, *args, **kwargs):
+    repos = orig(self, section, *args, **kwargs)
     if section == "paths":
         repos += getzcpaths()
     return repos