diff options
author | Martin Sivak <msivak@redhat.com> | 2008-02-22 13:45:50 +0100 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-08-06 11:49:37 -0400 |
commit | 9fceb549bfbfe0953997027ddcf146fb8abad068 (patch) | |
tree | a1cef7c3ab6280d43a612f284296f4d72162e1e3 /packages.py | |
parent | 39b18fd359b374624316c5855149fdd5da1e3782 (diff) | |
download | anaconda-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.py | 4 |
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) |