Re: [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]

 



> 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 "

This has the potential to create a string that looks like "None None on
/dev/blah", right?  If so, I'd prefer to just leave off the first two
elements on info and show only the device name.

- Chris

_______________________________________________
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