summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-12-08 16:56:24 -0700
committerJason Gerard DeRose <jderose@redhat.com>2008-12-08 16:56:24 -0700
commit7e21ea5ad826e65da10d7a12917fd4d0d4f1874e (patch)
tree4c3cd50bd5fc6a7486535de8b10af1ee90ccc52a /ipalib/errors.py
parent4591057203e61a4ab304b8730ffede6560f74d4b (diff)
downloadfreeipa-7e21ea5ad826e65da10d7a12917fd4d0d4f1874e.tar.gz
freeipa-7e21ea5ad826e65da10d7a12917fd4d0d4f1874e.tar.xz
freeipa-7e21ea5ad826e65da10d7a12917fd4d0d4f1874e.zip
Fixed Warning messages about log dir in unit test
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 8412d1f65..25f594f29 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -123,7 +123,7 @@ def _(text):
class HandledError(StandardError):
"""
- Base class for errors that can be raised across a remote procecdure call.
+ Base class for errors that can be raised across a remote procedure call.
"""
code = 1
@@ -135,7 +135,6 @@ class HandledError(StandardError):
StandardError.__init__(self, message)
-
class UnknownError(HandledError):
"""
Raised when the true error is not a handled error.
@@ -145,10 +144,12 @@ class UnknownError(HandledError):
class CommandError(HandledError):
+ """
+ Raised when an unknown command is called client-side.
+ """
format = _('Unknown command %(name)r')
-
class RemoteCommandError(HandledError):
format = 'Server at %(uri)r has no command %(name)r'