summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorDevin Carlen <devin.carlen@gmail.com>2011-02-13 11:55:50 -0800
committerDevin Carlen <devin.carlen@gmail.com>2011-02-13 11:55:50 -0800
commit27139d33ec027bae4b247c1651bfe635a32f5ebf (patch)
tree8137be544d7b0966e96cc04b269d9d9f79cc8765 /nova/api
parent07bff0f397b3b6463532f709daeb7a36ed4ad5b1 (diff)
Added missing doc string and made a few style tweaks
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index cc41ed4ae..47cd8bf37 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -840,6 +840,7 @@ class CloudController(object):
return True
def _format_image(self, context, image):
+ """Convert from format defined by BaseImageService to S3 format."""
i = {}
i['imageId'] = image.get('id')
i['kernelId'] = image.get('kernel_id')