diff options
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py index dcbeadb66..71bbedb2c 100644 --- a/ipalib/errors.py +++ b/ipalib/errors.py @@ -731,15 +731,15 @@ class NotFound(ExecutionError): For example: - >>> raise NotFound() + >>> raise NotFound(reason='no such user') Traceback (most recent call last): ... - NotFound: entry not found + NotFound: no such user """ errno = 4001 - format = _('%(reason)r') + format = _('%(reason)s') class DuplicateEntry(ExecutionError): """ |