summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorEoghan Glynn <eglynn@redhat.com>2012-07-26 11:26:24 +0100
committerEoghan Glynn <eglynn@redhat.com>2012-07-26 11:26:24 +0100
commitfda8a73cb6463916240104f4c95ef0495b7f7041 (patch)
tree1d776a061994cac8501cd1b23231420acc76c4fc /nova/api
parente238e07692c747ddcb0c70452578a812836cea67 (diff)
downloadnova-fda8a73cb6463916240104f4c95ef0495b7f7041.tar.gz
nova-fda8a73cb6463916240104f4c95ef0495b7f7041.tar.xz
nova-fda8a73cb6463916240104f4c95ef0495b7f7041.zip
Fix a couple of PEP8 nits.
Address a couple of recently introduced PEP8 violations in console output API extension. Change-Id: Ia80fa5103e342c8e51772b0edc2a115abeaddf36
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/contrib/console_output.py5
1 files changed, 3 insertions, 2 deletions
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."""