python-blivet/backport-Fix-logging-information-about-ignoring-hidden-device.patch

26 lines
892 B
Diff

From d4d8224637d6967418c62de61f8673d520e16243 Mon Sep 17 00:00:00 2001
From: Vojtech Trefny <vtrefny@redhat.com>
Date: Mon, 7 Dec 2020 18:48:36 +0100
Subject: [PATCH] Fix logging information about ignoring hidden devices
---
blivet/populator/populator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/populator/populator.py b/blivet/populator/populator.py
index 40623714..75bb1741 100644
--- a/blivet/populator/populator.py
+++ b/blivet/populator/populator.py
@@ -250,7 +250,7 @@ class PopulatorMixin(object):
log.info("scanning %s (%s)...", name, sysfs_path)
if udev.device_is_hidden(info):
- log.info("device %s is marked as hidden in sysfs, ignoring")
+ log.info("device %s is marked as hidden in sysfs, ignoring", name)
return
# make sure we note the name of every device we see
--
2.27.0