Fixed doctest for errors.NotFound

This commit is contained in:
Jason Gerard DeRose
2009-05-19 13:53:45 -06:00
parent 4f9224774f
commit 3a4828b372

View File

@@ -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):
"""