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