diff --git a/nova/api/openstack/compute/contrib/console_output.py b/nova/api/openstack/compute/contrib/console_output.py index c29177a079ab..1ef773f57ef4 100644 --- a/nova/api/openstack/compute/contrib/console_output.py +++ b/nova/api/openstack/compute/contrib/console_output.py @@ -49,8 +49,8 @@ class ConsoleOutputController(wsgi.Controller): try: length = body['os-getConsoleOutput'].get('length') except (TypeError, KeyError): - raise webob.exc.HTTPBadRequest(_('os-getConsoleOutput malformed or ' - 'missing from request body')) + raise webob.exc.HTTPBadRequest(_('os-getConsoleOutput malformed ' + 'or missing from request body')) if length is not None: try: @@ -72,6 +72,7 @@ class ConsoleOutputController(wsgi.Controller): return {'output': output} + class Console_output(extensions.ExtensionDescriptor): """Console log output support, with tailing ability."""