Re: [PATCH rhel5-branch] Fix handling of invalid bios disks (#819721)

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

 



On Thu, Jun 21, 2012 at 02:20:47PM -0700, Jesse Keating wrote:
> ---
>  kickstart.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kickstart.py b/kickstart.py
> index cfe12a0..a4d7fca 100644
> --- a/kickstart.py
> +++ b/kickstart.py
> @@ -470,7 +470,7 @@ class AnacondaKSHandlers(KickstartHandlers):
>          if pd.onbiosdisk != "":
>              pd.disk = isys.doGetBiosDisk(pd.onbiosdisk)
>  
> -            if pd.disk == "":
> +            if not pd.disk:
>                  raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified BIOS disk %s cannot be determined" % pd.onbiosdisk)
>  
>          if pd.mountpoint == "swap":
> -- 
> 1.7.10.2

Ack

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

Attachment: pgp8hSn5CwiIt.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux