[PATCH] slave_dev is undefined here, use slave_devices[0] instead.
Chris Lumens
clumens at redhat.com
Mon Mar 23 15:41:59 UTC 2015
---
blivet/populator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/populator.py b/blivet/populator.py
index db6cb07..e600975 100644
--- a/blivet/populator.py
+++ b/blivet/populator.py
@@ -302,7 +302,7 @@ class Populator(object):
if device is None and udev.device_is_dm_livecd(info):
device = DMDevice(name, dmUuid=info.get('DM_UUID'),
sysfsPath=sysfs_path, exists=True,
- parents=[slave_dev])
+ parents=[slave_devices[0]])
device.protected = True
device.controllable = False
self.devicetree._addDevice(device)
--
2.2.2
More information about the anaconda-patches
mailing list