From 9abd69e9126b9cb3cba84eaadb9396bfc16f8eca Mon Sep 17 00:00:00 2001 From: Sebastian Bachmann Date: Mon, 3 Jan 2022 19:48:54 +0100 Subject: fix typo --- vmdb/plugins/kpartx_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1