##// END OF EJS Templates
interhg: fixes regression introduced by 38170eeed18c
Wagner Bruna -
r10472:9126d13b stable
parent child Browse files
Show More
@@ -40,7 +40,7 b' def interhg_escape(x):'
40 40
41 41 templatefilters.filters["escape"] = interhg_escape
42 42
43 def interhg_refresh(orig, self):
43 def interhg_refresh(orig, self, *args, **kwargs):
44 44 interhg_table[:] = []
45 45 for key, pattern in self.repo.ui.configitems('interhg'):
46 46 # grab the delimiter from the character after the "s"
@@ -75,6 +75,6 b' def interhg_refresh(orig, self):'
75 75 except re.error:
76 76 self.repo.ui.warn(_("interhg: invalid regexp for %s: %s\n")
77 77 % (key, regexp))
78 return orig(self)
78 return orig(self, *args, **kwargs)
79 79
80 80 extensions.wrapfunction(hgweb_mod.hgweb, 'refresh', interhg_refresh)
General Comments 0
You need to be logged in to leave comments. Login now