--- 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 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list