equal
deleted
inserted
replaced
412 |
412 |
413 def select_best(self, vobjects, *args, **kwargs): |
413 def select_best(self, vobjects, *args, **kwargs): |
414 """return an instance of the most specific object according |
414 """return an instance of the most specific object according |
415 to parameters |
415 to parameters |
416 |
416 |
417 raise NoSelectableObject if not object apply |
417 raise NoSelectableObject if no object apply |
418 """ |
418 """ |
419 for vobjectcls in vobjects: |
419 for vobjectcls in vobjects: |
420 self._fix_cls_attrs(vobjectcls) |
420 self._fix_cls_attrs(vobjectcls) |
421 selected = super(MulCnxCubicWebRegistry, self).select_best( |
421 selected = super(MulCnxCubicWebRegistry, self).select_best( |
422 vobjects, *args, **kwargs) |
422 vobjects, *args, **kwargs) |