From fda8a73cb6463916240104f4c95ef0495b7f7041 Mon Sep 17 00:00:00 2001 From: Eoghan Glynn Date: Thu, 26 Jul 2012 11:26:24 +0100 Subject: Fix a couple of PEP8 nits. Address a couple of recently introduced PEP8 violations in console output API extension. Change-Id: Ia80fa5103e342c8e51772b0edc2a115abeaddf36 --- nova/api/openstack/compute/contrib/console_output.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nova/api') diff --git a/nova/api/openstack/compute/contrib/console_output.py b/nova/api/openstack/compute/contrib/console_output.py index c29177a07..1ef773f57 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.""" -- cgit