diff options
author | John Dewey <john@dewey.ws> | 2011-01-25 18:16:25 -0800 |
---|---|---|
committer | John Dewey <john@dewey.ws> | 2011-01-25 18:16:25 -0800 |
commit | 6f0bebe2ee63f986376295a03f7c0fde16fa90b6 (patch) | |
tree | fd14a73d707264de4adf214e04fc0d5000e9b692 | |
parent | 45ad2dcaf97a373a6b62b78b115ae3c8eb4c47a1 (diff) | |
download | nova-6f0bebe2ee63f986376295a03f7c0fde16fa90b6.tar.gz nova-6f0bebe2ee63f986376295a03f7c0fde16fa90b6.tar.xz nova-6f0bebe2ee63f986376295a03f7c0fde16fa90b6.zip |
Prefixed ending multi-line docstring with a newline.
-rw-r--r-- | nova/image/local.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/image/local.py b/nova/image/local.py index 177e81a30..f78b9aa89 100644 --- a/nova/image/local.py +++ b/nova/image/local.py @@ -28,6 +28,7 @@ class LocalImageService(service.BaseImageService): """Image service storing images to local disk. It assumes that image_ids are integers. + """ def __init__(self): @@ -69,8 +70,8 @@ class LocalImageService(service.BaseImageService): def delete(self, context, image_id): """Delete the given image. Raises OSError if the image does not exist. - """ + """ try: os.unlink(self._path_to(image_id)) except IOError: @@ -84,6 +85,6 @@ class LocalImageService(service.BaseImageService): def delete_imagedir(self): """Deletes the local directory. Raises OSError if directory is not empty. - """ + """ os.rmdir(self._path) |