[master 1/1] Fix the UnusuableConfigurationError dialog (#1246915)

dashea installerbot-noreply at redhat.com
Mon Jul 27 13:47:52 UTC 2015


From: David Shea <dshea at redhat.com>

message is no longer a property of Exception in python3.
---
 pyanaconda/errors.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/errors.py b/pyanaconda/errors.py
index fb478e3..8e2ee12 100644
--- a/pyanaconda/errors.py
+++ b/pyanaconda/errors.py
@@ -148,7 +148,7 @@ def _storageResetHandler(self, exn):
                      "can access by pressing ctrl-alt-f1 and then ctrl-b 2."
                      "\n\nOnce you have resolved the issue you can retry the "
                      "storage scan. If you do not fix it you will have to exit "
-                     "the installer.") % {"errortxt": escape_markup(exn.message)})
+                     "the installer.") % {"errortxt": escape_markup(str(exn))})
         details = _(exn.suggestion)
         buttons = (_("_Exit Installer"), _("_Retry"))
         if self.ui.showDetailedError(message, details, buttons=buttons):


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/fa34cc198ad3786d8aaf93976ac67fb34299e0a2


More information about the anaconda-patches mailing list