##// END OF EJS Templates
repoview: style change in newtype() cache handling...
Georges Racinet -
r47774:42eb8b78 stable
parent child Browse files
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 if base not in _filteredrepotypes:
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 _filteredrepotypes[base]
483 return filteredrepo
General Comments 0
You need to be logged in to leave comments. Login now