[PATCH master f14-branch 1/2] Don't crash on unnamed installs (#621685)

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

 



Create a string that makes sense and doesn't traceback on None
when the install is incomplete.
---
 pyanaconda/upgrade.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/upgrade.py b/pyanaconda/upgrade.py
index bb7e994..d3386db 100644
--- a/pyanaconda/upgrade.py
+++ b/pyanaconda/upgrade.py
@@ -83,7 +83,7 @@ def findRootParts(anaconda):
         if notUpgradable and not anaconda.rootParts:
             oldInstalls = ""
             for info in notUpgradable:
-                oldInstalls += " on ".join(info)
+                oldInstalls += "%s %s on %s" % (info)
                 oldInstalls += "\n"
             rc = anaconda.intf.messageWindow(_("Cannot Upgrade"),
                     _("Your current installation cannot be upgraded. This "
-- 
1.7.2

_______________________________________________
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