diff -r 7ca8e7661609 -r 7e97ea52335a hgkw/keyword.py --- a/hgkw/keyword.py Thu Mar 01 10:22:16 2007 +0100 +++ b/hgkw/keyword.py Wed Mar 07 23:39:55 2007 +0100 @@ -139,7 +139,7 @@ quoted=False) self.templates = templates or deftemplates self.re_kw = re.compile(r'\$(%s)[^$]*?\$' % - '|'.join(re.escape(k) for k in self.templates.keys())) + '|'.join([re.escape(k) for k in self.templates.keys()])) templater.common_filters['utcdate'] = utcdate try: self.t = cmdutil.changeset_templater(ui, repo,