vregistry.py
branchstable
changeset 3638 648d6dbec630
parent 3565 4db55832e8a9
child 3641 cf30e4498674
equal deleted inserted replaced
3637:0a0e86cb5c89 3638:648d6dbec630
   183         if not winners:
   183         if not winners:
   184             raise NoSelectableObject('args: %s\nkwargs: %s %s'
   184             raise NoSelectableObject('args: %s\nkwargs: %s %s'
   185                                      % (args, kwargs.keys(),
   185                                      % (args, kwargs.keys(),
   186                                         [repr(v) for v in appobjects]))
   186                                         [repr(v) for v in appobjects]))
   187         if len(winners) > 1:
   187         if len(winners) > 1:
   188             if self.config.mode == 'installed':
   188             if self.config.debug:
   189                 self.error('select ambiguity, args: %s\nkwargs: %s %s',
   189                 self.error('select ambiguity, args: %s\nkwargs: %s %s',
   190                            args, kwargs.keys(), [repr(v) for v in winners])
   190                            args, kwargs.keys(), [repr(v) for v in winners])
   191             else:
   191             else:
   192                 raise Exception('select ambiguity, args: %s\nkwargs: %s %s'
   192                 raise Exception('select ambiguity, args: %s\nkwargs: %s %s'
   193                                 % (args, kwargs.keys(),
   193                                 % (args, kwargs.keys(),