Re: [PATCH] Fix onbiosdisk comparison for kickstart installs (#802397)

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

 



> diff --git a/kickstart.py b/kickstart.py
> index d9d811c..1830c28 100644
> --- a/kickstart.py
> +++ b/kickstart.py
> @@ -729,7 +729,7 @@ class PartitionData(commands.partition.RHEL6_PartData):
>  
>          if self.onbiosdisk != "":
>              for (disk, biosdisk) in storage.eddDict.iteritems():
> -                if str(biosdisk) == self.onbiosdisk:
> +                if "%x" % biosdisk == self.onbiosdisk:
>                      self.disk = disk
>                      break

Yeah, looks fine.

- Chris

_______________________________________________
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