[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Check if the potential dep is in done, not the leaf. (#728891)



On Mon, Aug 08, 2011 at 04:47:01PM -0500, David Lehman wrote:
> ---
>  pyanaconda/bootloader.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index 8ab6390..73ef393 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -794,7 +794,7 @@ class BootLoader(object):
>                            "rd.dm.uuid": "rd.dm=0"}
>          for device in dracut_devices:
>              for dep in self.storage.devices:
> -                if device in done:
> +                if dep in done:
>                      continue
>  
>                  if device != dep and not device.dependsOn(dep):

Ack.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpirpj4nfBkH.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]