From 3a4828b3725df229634a06b73de9d55b0ad8b972 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 19 May 2009 13:53:45 -0600 Subject: Fixed doctest for errors.NotFound --- ipalib/errors.py | 6 +++--- 1 file 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): """ -- cgit