From 7e21ea5ad826e65da10d7a12917fd4d0d4f1874e Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 8 Dec 2008 16:56:24 -0700 Subject: Fixed Warning messages about log dir in unit test --- ipalib/errors.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ipalib/errors.py') diff --git a/ipalib/errors.py b/ipalib/errors.py index 8412d1f6..25f594f2 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' -- cgit