diff options
author | Peter Jones <pjones@redhat.com> | 2008-06-05 11:15:51 -0400 |
---|---|---|
committer | Peter Jones <pjones@pjones2.localdomain> | 2008-06-05 11:15:51 -0400 |
commit | dd7a05f98be97538dff5dde50c94523bba2ba113 (patch) | |
tree | 8cec09e5abee55c6c0636effb3bfa750c4bb88a8 /autopart.py | |
parent | e44918b24509d92a7aeab8c219fe00fa38308934 (diff) | |
download | anaconda-dd7a05f98be97538dff5dde50c94523bba2ba113.tar.gz anaconda-dd7a05f98be97538dff5dde50c94523bba2ba113.tar.xz anaconda-dd7a05f98be97538dff5dde50c94523bba2ba113.zip |
Don't reference PartitioningError.value .
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autopart.py b/autopart.py index 73c246ee8..bc951c396 100644 --- a/autopart.py +++ b/autopart.py @@ -1534,10 +1534,10 @@ def doAutoPartition(anaconda): if not anaconda.isKickstart: anaconda.intf.messageWindow(_("Warnings During Automatic Partitioning"), _("Following warnings occurred during automatic " - "partitioning:\n\n%s") % (msg.value,), + "partitioning:\n\n%s") % (msg,), custom_icon='warning') else: - lvmLog.warning(msg.value) + lvmLog.warning(str(msg)) except PartitioningError, msg: # restore drives to original state diskset.refreshDevices() @@ -1550,7 +1550,7 @@ def doAutoPartition(anaconda): extra = _("\n\nPress 'OK' to exit the installer.") anaconda.intf.messageWindow(_("Error Partitioning"), _("Could not allocate requested partitions: \n\n" - "%s.%s") % (msg.value, extra), custom_icon='error') + "%s.%s") % (msg, extra), custom_icon='error') if anaconda.isKickstart: |