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

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



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


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