mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed doctest for errors.NotFound
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user