summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-05-08 11:15:45 -0400
committerRob Crittenden <rcritten@redhat.com>2009-05-13 14:16:44 -0400
commit1c31b5bc08a2f4bc55678c69eb67508122480906 (patch)
tree0166354ab5bb1e8bb4b664efab23bb86e770556a /ipalib/errors.py
parentde88954b91f49387421f68a056a2e12cb6e94e7e (diff)
downloadfreeipa-1c31b5bc08a2f4bc55678c69eb67508122480906.tar.gz
freeipa-1c31b5bc08a2f4bc55678c69eb67508122480906.tar.xz
freeipa-1c31b5bc08a2f4bc55678c69eb67508122480906.zip
Add a reason to the NotFound exception so we can provide more robust errors
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 2e9eebeef..a29dbbee6 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -739,7 +739,7 @@ class NotFound(ExecutionError):
"""
errno = 4001
- format = _('entry not found')
+ format = _('%(reason)r')
class DuplicateEntry(ExecutionError):
"""