diff options
author | Sebastian Bachmann <hello@reox.at> | 2022-01-03 19:48:54 +0100 |
---|---|---|
committer | Sebastian Bachmann <hello@reox.at> | 2022-01-03 19:48:54 +0100 |
commit | 9abd69e9126b9cb3cba84eaadb9396bfc16f8eca (patch) | |
tree | b78be43824480ed10a1f734fe62680777ade0140 | |
parent | d8be123a97380aef28a9b1155c57531c231f9e23 (diff) | |
download | vmdb2-9abd69e9126b9cb3cba84eaadb9396bfc16f8eca.tar.gz |
fix typo
-rw-r--r-- | vmdb/plugins/kpartx_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/kpartx_plugin.py b/vmdb/plugins/kpartx_plugin.py index 9ed8e26..36cf42f 100644 --- a/vmdb/plugins/kpartx_plugin.py +++ b/vmdb/plugins/kpartx_plugin.py @@ -67,7 +67,7 @@ class KpartxStepRunner(vmdb.StepRunnerInterface): vmdb.runcmd(["losetup", "--json", "-l", loop_dev]) )["loopdevices"] if len(loopdev_info) != 1: - # Sometime is wrong, this should not happen... + # Something is wrong, this must not happen raise RuntimeError("losetup returned more than one device") loopdev_info = loopdev_info.pop() if loopdev_info["back-file"] is None: |