summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-08-03 10:03:15 -0400
committerBrian Lamar <brian.lamar@rackspace.com>2011-08-03 10:03:15 -0400
commitcb3bc75b316281866eaf32040dccc3fc3be257c2 (patch)
tree39524424e644a37cda46a50b58d9c736d2a157f4
parent32ab936e7d1d2b20e7f8d5eef53b5b19cc766edc (diff)
downloadnova-cb3bc75b316281866eaf32040dccc3fc3be257c2.tar.gz
nova-cb3bc75b316281866eaf32040dccc3fc3be257c2.tar.xz
nova-cb3bc75b316281866eaf32040dccc3fc3be257c2.zip
PEP8 issue
-rw-r--r--nova/api/openstack/create_instance_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/create_instance_helper.py b/nova/api/openstack/create_instance_helper.py
index a2d18d37e..333994fcc 100644
--- a/nova/api/openstack/create_instance_helper.py
+++ b/nova/api/openstack/create_instance_helper.py
@@ -92,7 +92,7 @@ class CreateInstanceHelper(object):
image_href = self.controller._image_ref_from_req_data(body)
# If the image href was generated by nova api, strip image_href
# down to an id and use the default glance connection params
-
+
if str(image_href).startswith(req.application_url):
image_href = image_href.split('/').pop()
try: