summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChiradeep Vittal <chiradeep@chiradeep-lt2>2010-10-12 23:53:31 -0700
committerChiradeep Vittal <chiradeep@chiradeep-lt2>2010-10-12 23:53:31 -0700
commit01ad0a05c4f93bb5e95a1c781d492374739dce2c (patch)
treee37fb1a4809031954e08db6fed0480667f921cfb
parentf224c0ed419f885aa85065d1a27623b22721d34c (diff)
downloadnova-01ad0a05c4f93bb5e95a1c781d492374739dce2c.tar.gz
nova-01ad0a05c4f93bb5e95a1c781d492374739dce2c.tar.xz
nova-01ad0a05c4f93bb5e95a1c781d492374739dce2c.zip
Remove extraneous newlines
-rw-r--r--nova/virt/images.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/virt/images.py b/nova/virt/images.py
index dad285fe0..75e6f783e 100644
--- a/nova/virt/images.py
+++ b/nova/virt/images.py
@@ -48,7 +48,6 @@ def fetch(image, path, user, project):
f = _fetch_local_image
return f(image, path, user, project)
-
def _fetch_image_no_curl(url, path, headers):
request = urllib2.Request(url)
for (k, v) in headers.iteritems():
@@ -101,11 +100,9 @@ def _fetch_local_image(image, path, user, project):
else:
return process.simple_execute('cp %s %s' % (source, path))
-
def _image_path(path):
return os.path.join(FLAGS.images_path, path)
-
def image_url(image):
return "http://%s:%s/_images/%s/image" % (FLAGS.s3_host, FLAGS.s3_port,
image)