[PATCH] Fix an issue introduced in commit a210eb5c.

Vratislav Podzimek vpodzime at redhat.com
Wed Apr 23 15:00:33 UTC 2014


On Wed, 2014-04-23 at 09:34 -0500, David Lehman wrote:
> ---
>  blivet/devicetree.py | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/blivet/devicetree.py b/blivet/devicetree.py
> index adcb986..85c4ed0 100644
> --- a/blivet/devicetree.py
> +++ b/blivet/devicetree.py
> @@ -1373,8 +1373,9 @@ class DeviceTree(object):
>  
>                  origin_device_name = "%s-%s" % (vg_name, origin_name)
>                  addRequiredLV(origin_device_name, "failed to locate origin lv")
> -                log.debug("adding %s to %s snapshot total",
> -                            lv_sizes[index], origin.name)
> +                origin = self.getDeviceByName(origin_device_name)
> +                log.debug("adding %s to %s snapshot total", lv_size,
> +                                                            origin.name)
>                  origin.snapshotSpace += lv_size
>                  return
>              elif lv_attr[0] == 'v':
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list