Commit bdd1dc61 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Update kamaki.cli.cmds.image class names (pep8)

Rename: _init_image --> _ImageInit
parent 2a428a7f
......@@ -74,7 +74,7 @@ about_image_id = ['To see a list of available image ids: /image list']
log = getLogger(__name__)
class _init_image(CommandInit):
class _ImageInit(CommandInit):
def _run(self):
......@@ -157,7 +157,7 @@ def _validate_image_location(location):
class image_list(_init_image, OptionalOutput, NameFilter, IDFilter):
class image_list(_ImageInit, OptionalOutput, NameFilter, IDFilter):
"""List images accessible by user"""
......@@ -277,7 +277,7 @@ class image_list(_init_image, OptionalOutput, NameFilter, IDFilter):
class image_info(_init_image, OptionalOutput):
class image_info(_ImageInit, OptionalOutput):
"""Get image metadata"""
......@@ -295,7 +295,7 @@ class image_info(_init_image, OptionalOutput):
class image_modify(_init_image):
class image_modify(_ImageInit):
"""Add / update metadata and properties for an image
The original image preserves the values that are not affected
......@@ -397,7 +397,7 @@ class PithosLocationArgument(ValueArgument):
class image_register(_init_image, OptionalOutput):
class image_register(_ImageInit, OptionalOutput):
"""(Re)Register an image file to an Image service
The image file must be stored at a pithos repository
Some metadata can be set by user (e.g., disk-format) while others are set
......@@ -603,7 +603,7 @@ class image_register(_init_image, OptionalOutput):
class image_unregister(_init_image):
class image_unregister(_ImageInit):
"""Unregister an image (does not delete the image file)"""
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