From: David Lehman <dlehman(a)redhat.com>
---
blivet/populator/populator.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/blivet/populator/populator.py b/blivet/populator/populator.py
index 816c226..adfa376 100644
--- a/blivet/populator/populator.py
+++ b/blivet/populator/populator.py
@@ -330,8 +330,10 @@ def handle_format(self, info, device):
log_method_call(self, name=getattr(device, "name", None))
if not info:
- log.debug("no information for device %s", device.name)
- return
+ info = udev.get_device(device.sysfs_path)
+ if not info:
+ log.debug("no information for device %s", device.name)
+ return
if not device.media_present:
log.debug("no media present for device %s", device.name)
return
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/8b637b3b256b0691ce8c61fb2306...