diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-05-19 13:53:45 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-05-19 13:53:45 -0600 |
commit | 3a4828b3725df229634a06b73de9d55b0ad8b972 (patch) | |
tree | 74cb1a8abd0017044d20e1f958a67ad14910ca7e /ipalib/errors.py | |
parent | 4f9224774f7ec7c1c8ed4fedef2f2b62390064d2 (diff) | |
download | freeipa-3a4828b3725df229634a06b73de9d55b0ad8b972.tar.gz freeipa-3a4828b3725df229634a06b73de9d55b0ad8b972.tar.xz freeipa-3a4828b3725df229634a06b73de9d55b0ad8b972.zip |
Fixed doctest for errors.NotFound
Diffstat (limited to 'ipalib/errors.py')
-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): """ |