[rhel6-branch] Fix traceback when rpm scriptlets fail during pkg install. (#1122532)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Fri Aug 1 11:44:22 UTC 2014
Resolves:rhbz#1122532
---
yuminstall.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yuminstall.py b/yuminstall.py
index 9e3c24f..f20ebbd 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -267,7 +267,7 @@ class AnacondaCallback:
_("A fatal error occurred when installing the %s "
"package. This could indicate errors when reading "
"the installation media. Installation cannot "
- "continue.") % hdr['name'],
+ "continue.") % hdr,
type="custom", custom_icon="error",
custom_buttons=[_("_Exit installer")])
sys.exit(1)
--
1.9.3
More information about the anaconda-patches
mailing list