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