[PATCH] slave_dev is undefined here, use slave_devices[0] instead.

Anne Mulhern amulhern at redhat.com
Mon Mar 23 16:07:34 UTC 2015





----- Original Message -----
> From: "Chris Lumens" <clumens at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Monday, March 23, 2015 11:41:59 AM
> Subject: [PATCH] slave_dev is undefined here, use slave_devices[0] instead.
> 
> ---
>  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
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 

ack.

- mulhern


More information about the anaconda-patches mailing list