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

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

 



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

_______________________________________________
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