cwvreg.py
changeset 2389 c399bd6a9c38
parent 2293 7ded2a1416e4
child 2476 1294a6bdf3bf
equal deleted inserted replaced
2387:ea1defea9636 2389:c399bd6a9c38
   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)