summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-02-22 13:45:50 +0100
committerChris Lumens <clumens@redhat.com>2008-08-06 11:49:37 -0400
commit9fceb549bfbfe0953997027ddcf146fb8abad068 (patch)
treea1cef7c3ab6280d43a612f284296f4d72162e1e3 /packages.py
parent39b18fd359b374624316c5855149fdd5da1e3782 (diff)
downloadanaconda-9fceb549bfbfe0953997027ddcf146fb8abad068.tar.gz
anaconda-9fceb549bfbfe0953997027ddcf146fb8abad068.tar.xz
anaconda-9fceb549bfbfe0953997027ddcf146fb8abad068.zip
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.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py4
1 files changed, 2 insertions, 2 deletions
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)