(self)
| 1445 | return self._registry_get('action', action, action) |
| 1446 | |
| 1447 | def _get_handler(self): |
| 1448 | # determine function from conflict handler string |
| 1449 | handler_func_name = '_handle_conflict_%s' % self.conflict_handler |
| 1450 | try: |
| 1451 | return getattr(self, handler_func_name) |
| 1452 | except AttributeError: |
| 1453 | msg = _('invalid conflict_resolution value: %r') |
| 1454 | raise ValueError(msg % self.conflict_handler) |
| 1455 | |
| 1456 | def _check_conflict(self, action): |
| 1457 |
no outgoing calls
no test coverage detected