Fixed Warning messages about log dir in unit test

This commit is contained in:
Jason Gerard DeRose
2008-12-08 16:56:24 -07:00
parent 4591057203
commit 7e21ea5ad8
5 changed files with 20 additions and 28 deletions

View File

@@ -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'