##// END OF EJS Templates
repoview: use class literal for creating filteredchangelog...
Martin von Zweigbergk -
r43910:85628a59 default
parent child Browse files
Show More
@@ -227,9 +227,10 b' def wrapchangelog(unfichangelog, filtere'
227 cl = copy.copy(unfichangelog)
227 cl = copy.copy(unfichangelog)
228 cl.filteredrevs = filteredrevs
228 cl.filteredrevs = filteredrevs
229
229
230 cl.__class__ = type(
230 class filteredchangelog(filteredchangelogmixin, cl.__class__):
231 'filteredchangelog', (filteredchangelogmixin, cl.__class__), {}
231 pass
232 )
232
233 cl.__class__ = filteredchangelog
233
234
234 return cl
235 return cl
235
236
General Comments 0
You need to be logged in to leave comments. Login now