diff options
Diffstat (limited to 'vmdb/plugins/kpartx_plugin.py')
-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: |