summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-05-18 11:13:22 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-05-18 11:13:22 -0400
commit9407bbfc61f165bca0a854d59dd516193334a4b4 (patch)
tree4f7470c28075df841f8e385c8904761f74821284 /nova/api
parent980ceb71fdc97e92954239b843e7cec60c786a97 (diff)
fix pep8 issues
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/images.py3
-rw-r--r--nova/api/openstack/servers.py1
2 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py
index 6d3e50b56..c2511b99f 100644
--- a/nova/api/openstack/images.py
+++ b/nova/api/openstack/images.py
@@ -50,7 +50,8 @@ class Controller(common.OpenstackController):
"""
self._compute_service = compute_service or compute.API()
- self._image_service = image_service or utils.get_default_image_service()
+ self._image_service = image_service or \
+ utils.get_default_image_service()
def index(self, req):
"""Return an index listing of images available to the request.
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 17d286748..ae7df3fe5 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -188,7 +188,6 @@ class Controller(common.OpenstackController):
msg = _("Can not find requested image")
return faults.Fault(exc.HTTPBadRequest(msg))
-
inst['instance_type'] = inst_type
inst['image_id'] = image_ref