Commit c78ac789 authored by Nikos Skalkotos's avatar Nikos Skalkotos

Fix 2 obsolete comments

parent 3f2ae845
......@@ -181,7 +181,7 @@ class Disk(object):
return "/dev/mapper/%s" % snapshot
def get_image(self, media):
"""Returns a newly created ImageCreator instance."""
"""Returns a newly created Image instance."""
image = Image(media, self.out)
self._images.append(image)
......@@ -189,8 +189,7 @@ class Disk(object):
return image
def destroy_image(self, image):
"""Destroys an ImageCreator instance previously created by
get_image_creator method.
"""Destroys an Image instance previously created by get_image method.
"""
self._images.remove(image)
image.destroy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment