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

Chris Lumens clumens at redhat.com
Mon Dec 10 20:26:24 UTC 2012


---
 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])
-- 
1.7.11.2



More information about the anaconda-patches mailing list