diff options
Diffstat (limited to 'vmdb/plugins')
-rw-r--r-- | vmdb/plugins/luks_plugin.py | 1 | ||||
-rw-r--r-- | vmdb/plugins/rootfs_cache_plugin.py | 2 | ||||
-rw-r--r-- | vmdb/plugins/virtuals_plugin.py | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/vmdb/plugins/luks_plugin.py b/vmdb/plugins/luks_plugin.py index 7d8ed3f..9d48d99 100644 --- a/vmdb/plugins/luks_plugin.py +++ b/vmdb/plugins/luks_plugin.py @@ -80,7 +80,6 @@ class CryptsetupStepRunner(vmdb.StepRunnerInterface): if x is not None and os.path.exists(x): os.remove(x) - underlying = step['cryptsetup'] crypt_name = step['tag'] crypt_dev = '/dev/mapper/{}'.format(crypt_name) diff --git a/vmdb/plugins/rootfs_cache_plugin.py b/vmdb/plugins/rootfs_cache_plugin.py index 5c9a894..edfb3d4 100644 --- a/vmdb/plugins/rootfs_cache_plugin.py +++ b/vmdb/plugins/rootfs_cache_plugin.py @@ -56,7 +56,7 @@ class MakeCacheStepRunner(vmdb.StepRunnerInterface): 'tag {} mounted {} cached {}'.format( tag, tags.get_mount_point(tag), tags.is_cached(tag))) - vmdb.progress('caching rootdir'.format(rootdir)) + vmdb.progress('caching rootdir {}'.format(rootdir)) vmdb.progress('caching relative {}'.format(dirs)) if not os.path.exists(tar_path): vmdb.runcmd( diff --git a/vmdb/plugins/virtuals_plugin.py b/vmdb/plugins/virtuals_plugin.py index ec7682d..092c505 100644 --- a/vmdb/plugins/virtuals_plugin.py +++ b/vmdb/plugins/virtuals_plugin.py @@ -73,5 +73,5 @@ class VirtualFilesystemMountStepRunner(vmdb.StepRunnerInterface): vmdb.unmount(mount_point) except vmdb.NotMounted as e: logging.warning(str(e)) - except cliapp.AppException: + except cliapp.AppException: vmdb.warning('Something went wrong while unmounting. Ignoring.') |