Multi-line comments should end in a blankline

This commit is contained in:
Justin Santa Barbara
2011-03-28 16:54:17 -07:00
parent 276c153f44
commit 87bc3bca79
3 changed files with 9 additions and 3 deletions

View File

@@ -65,7 +65,9 @@ class Controller(wsgi.Controller):
"""The volume attachment API controller for the Openstack API.
A child resource of the server. Note that we use the volume id
as the ID of the attachment (though this is not guaranteed externally)"""
as the ID of the attachment (though this is not guaranteed externally)
"""
_serialization_metadata = {
'application/xml': {

View File

@@ -56,7 +56,9 @@ class MockImageService(service.BaseImageService):
def show(self, context, image_id):
"""Get data about specified image.
Returns a dict containing image data for the given opaque image id."""
Returns a dict containing image data for the given opaque image id.
"""
image_id = int(image_id)
image = self.images.get(image_id)
if image:

View File

@@ -59,7 +59,9 @@ class TestOpenStackClient(object):
"""Simple OpenStack API Client.
This is a really basic OpenStack API client that is under our control,
so we can make changes / insert hooks for testing"""
so we can make changes / insert hooks for testing
"""
def __init__(self, auth_user, auth_key, auth_uri):
super(TestOpenStackClient, self).__init__()