diff options
Diffstat (limited to 'libbe/command/serve_commands.py')
-rw-r--r-- | libbe/command/serve_commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/command/serve_commands.py b/libbe/command/serve_commands.py index 30b4a69..fd19a61 100644 --- a/libbe/command/serve_commands.py +++ b/libbe/command/serve_commands.py @@ -93,7 +93,8 @@ class ServerApp (libbe.util.wsgi.WSGI_AppObject, Class = libbe.command.get_command_class(command_name=name) except libbe.command.UnknownCommand, e: raise libbe.util.wsgi.HandlerError( - libbe.util.http.HTTP_USER_ERROR, 'UnknownCommand {}'.format(e)) + libbe.util.http.HTTP_USER_ERROR, + 'UnknownCommand {0}'.format(e)) command = Class(ui=self.ui) self.ui.setup_command(command) arguments = [option.arg for option in command.options |