From 9fceb549bfbfe0953997027ddcf146fb8abad068 Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Fri, 22 Feb 2008 13:45:50 +0100 Subject: Fix the #224636 fix.. I didn't look at the python 2.4 api close enough and the SystemError doesn't have the message attribute in python 2.4.3. --- packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages.py') diff --git a/packages.py b/packages.py index 08e4214f4..68555546e 100644 --- a/packages.py +++ b/packages.py @@ -164,9 +164,9 @@ def turnOnFilesystems(anaconda): try: anaconda.id.fsset.createLogicalVolumes(anaconda.rootPath) except SystemError, e: - log.error("createLogicalVolumes failed with SystemError: %s", e.message) + log.error("createLogicalVolumes failed with %s", str(e)) anaconda.intf.messageWindow(_("LVM operation failed"), - e.message+"\n\n"+_("The installer will now exit..."), + str(e)+"\n\n"+_("The installer will now exit..."), type="custom", custom_icon="error", custom_buttons=[_("_Reboot")]) sys.exit(0) -- cgit