[PATCH 1/2] Explicitly set True/False in the bootloader setting (#885381).

David Lehman dlehman at redhat.com
Mon Dec 10 21:00:10 UTC 2012


On Mon, 2012-12-10 at 15:26 -0500, Chris Lumens wrote:

These both look good.

> ---
>  pyanaconda/ui/gui/spokes/lib/cart.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/lib/cart.py b/pyanaconda/ui/gui/spokes/lib/cart.py
> index 996c577..f3d2a26 100644
> --- a/pyanaconda/ui/gui/spokes/lib/cart.py
> +++ b/pyanaconda/ui/gui/spokes/lib/cart.py
> @@ -210,11 +210,11 @@ class SelectedDisksDialog(GUIObject):
>              # previously selected device.
>              for row in self._store:
>                  if row[ID_COL] == self._previousID:
> -                    row[IS_BOOT_COL] = not row[IS_BOOT_COL]
> +                    row[IS_BOOT_COL] = False
>                      break
>  
>              # Then we select the new row.
> -            self._store[itr][IS_BOOT_COL] = not self._store[itr][IS_BOOT_COL]
> +            self._store[itr][IS_BOOT_COL] = True
>              self._previousID = self._store[itr][ID_COL]
>  
>          self._toggle_button_text(self._store[itr])




More information about the anaconda-patches mailing list