##// END OF EJS Templates
zeroconf: blindly forward extra argument to the core config method...
marmoute -
r33175:a0068f49 default
parent child Browse files
Show More
@@ -167,12 +167,12 b' def getzcpaths():'
167 167 value.properties.get("path", "/"))
168 168 yield "zc-" + name, url
169 169
170 def config(orig, self, section, key, default=None, untrusted=False):
170 def config(orig, self, section, key, *args, **kwargs):
171 171 if section == "paths" and key.startswith("zc-"):
172 172 for name, path in getzcpaths():
173 173 if name == key:
174 174 return path
175 return orig(self, section, key, default, untrusted)
175 return orig(self, section, key, *args, **kwargs)
176 176
177 177 def configitems(orig, self, section, *args, **kwargs):
178 178 repos = orig(self, section, *args, **kwargs)
General Comments 0
You need to be logged in to leave comments. Login now