Show More
@@ -472,10 +472,12 b' class repoview(object):' | |||
|
472 | 472 | |
|
473 | 473 | def newtype(base): |
|
474 | 474 | """Create a new type with the repoview mixin and the given base class""" |
|
475 |
|
|
|
475 | cls = _filteredrepotypes.get(base) | |
|
476 | if cls is not None: | |
|
477 | return cls | |
|
476 | 478 | |
|
477 |
|
|
|
478 |
|
|
|
479 | class filteredrepo(repoview, base): | |
|
480 | pass | |
|
479 | 481 | |
|
480 |
|
|
|
481 |
return |
|
|
482 | _filteredrepotypes[base] = filteredrepo | |
|
483 | return filteredrepo |
General Comments 0
You need to be logged in to leave comments.
Login now