diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-19 12:29:12 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-19 12:29:12 +0300 |
commit | cb6e340bedcdbfa77a55980d15b98fabe4991ba2 (patch) | |
tree | a32e8515c652f06a3f1243a5f3c8a52bab17b40e | |
parent | 0d67290efb9bf780843a4ee44250f86453a2b192 (diff) | |
download | vmdb2-cb6e340bedcdbfa77a55980d15b98fabe4991ba2.tar.gz |
Rename: Image to Tags
-rw-r--r-- | vmdb/__init__.py | 2 | ||||
-rw-r--r-- | vmdb/app.py | 2 | ||||
-rw-r--r-- | vmdb/tags.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vmdb/__init__.py b/vmdb/__init__.py index 0163b53..2bcc954 100644 --- a/vmdb/__init__.py +++ b/vmdb/__init__.py @@ -31,7 +31,7 @@ from .runcmd import ( progress, error, ) -from .image import Image, UnknownTag, TagInUse, AlreadyMounted +from .tags import Tags, UnknownTag, TagInUse, AlreadyMounted from .unmount import unmount, NotMounted from .spec import ( Spec, diff --git a/vmdb/app.py b/vmdb/app.py index a790acb..3a88bba 100644 --- a/vmdb/app.py +++ b/vmdb/app.py @@ -47,7 +47,7 @@ class Vmdb2(cliapp.Application): spec = self.load_spec_file(args[0]) state = vmdb.State() - state.tags = vmdb.Image() + state.tags = vmdb.Tags() params = self.create_template_vars(state) steps = spec.get_steps(params) diff --git a/vmdb/tags.py b/vmdb/tags.py index 32063e5..2318a65 100644 --- a/vmdb/tags.py +++ b/vmdb/tags.py @@ -25,7 +25,7 @@ import vmdb -class Image: +class Tags: def __init__(self): self._tags = {} |