diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-08-03 10:03:15 -0400 |
|---|---|---|
| committer | Brian Lamar <brian.lamar@rackspace.com> | 2011-08-03 10:03:15 -0400 |
| commit | cb3bc75b316281866eaf32040dccc3fc3be257c2 (patch) | |
| tree | 39524424e644a37cda46a50b58d9c736d2a157f4 | |
| parent | 32ab936e7d1d2b20e7f8d5eef53b5b19cc766edc (diff) | |
| download | nova-cb3bc75b316281866eaf32040dccc3fc3be257c2.tar.gz nova-cb3bc75b316281866eaf32040dccc3fc3be257c2.tar.xz nova-cb3bc75b316281866eaf32040dccc3fc3be257c2.zip | |
PEP8 issue
| -rw-r--r-- | nova/api/openstack/create_instance_helper.py | 2 |
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: |
