summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2008-02-22 13:45:50 +0100
committerMartin Sivak <msivak@redhat.com>2008-02-22 13:45:50 +0100
commita7c038fc0e7d303377a674543234e7a997f3f69c (patch)
treecbcbcbf999ee14d9388f133875c24db3f53d629d /packages.py
parent4d8296d04a52aa29b72e4a9607b54227b010bd79 (diff)
downloadanaconda-a7c038fc0e7d303377a674543234e7a997f3f69c.tar.gz
anaconda-a7c038fc0e7d303377a674543234e7a997f3f69c.tar.xz
anaconda-a7c038fc0e7d303377a674543234e7a997f3f69c.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 1159b81da..2cae9b1ba 100644
--- a/packages.py
+++ b/packages.py
@@ -150,9 +150,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="error")
sys.exit(0)