Show More
@@ -159,9 +159,9 b' class kwtemplater(object):' | |||
|
159 | 159 | kwpat = r'\$(%s)(: [^$\n\r]*? )??\$' % '|'.join(escaped) |
|
160 | 160 | self.re_kw = re.compile(kwpat) |
|
161 | 161 | |
|
162 |
templatefilters.filters |
|
|
163 | templatefilters.filters['svnisodate'] = svnisodate | |
|
164 | templatefilters.filters['svnutcdate'] = svnutcdate | |
|
162 | templatefilters.filters.update({'utcdate': utcdate, | |
|
163 | 'svnisodate': svnisodate, | |
|
164 | 'svnutcdate': svnutcdate}) | |
|
165 | 165 | |
|
166 | 166 | def substitute(self, data, path, ctx, subfunc): |
|
167 | 167 | '''Replaces keywords in data with expanded template.''' |
General Comments 0
You need to be logged in to leave comments.
Login now