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

[PATCH master 2/2] Fix typo in examine_gui.py



doupgrade needs to be True or False
---
 pyanaconda/iw/examine_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/iw/examine_gui.py b/pyanaconda/iw/examine_gui.py
index 4b6ba02..baa42d4 100644
--- a/pyanaconda/iw/examine_gui.py
+++ b/pyanaconda/iw/examine_gui.py
@@ -106,7 +106,7 @@ class UpgradeExamineWindow (InstallWindow):
 
         if not seenExamineScreen:
             # this is the first time we've entered this screen
-            self.doupgrade = self.anaconda.upgrade or self.parts
+            self.doupgrade = self.anaconda.upgrade or bool(self.parts)
             seenExamineScreen = True
         else:
             self.doupgrade = self.anaconda.upgrade
-- 
1.7.2.3


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