[PATCH] Fix a problem with storage error handling (#861376).
Chris Lumens
clumens at redhat.com
Fri Sep 28 19:49:54 UTC 2012
---
pyanaconda/errors.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/errors.py b/pyanaconda/errors.py
index 8917184..18fc61c 100644
--- a/pyanaconda/errors.py
+++ b/pyanaconda/errors.py
@@ -93,7 +93,7 @@ class ErrorHandler(object):
def _partitionErrorHandler(self, *args, **kwargs):
message = _("The following errors occurred with your partitioning:\n\n%(errortxt)\n\n"
- "The installation will now terminate.") % {"errortxt": args[0]}
+ "The installation will now terminate.") % {"errortxt": str(kwargs["exception"])}
self.ui.showError(message)
return ERROR_RAISE
--
1.7.11.2
More information about the anaconda-patches
mailing list