diff options
author | Chris Lumens <clumens@redhat.com> | 2007-12-18 14:47:08 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-12-18 14:47:08 -0500 |
commit | 54d78aa26706bc22d37846a27b1a95ea000fe418 (patch) | |
tree | 79660945114126b0518646df6387bbcc775e10c3 | |
parent | 9593841564a29155821c47dc48ae27cd2f666aa9 (diff) | |
download | anaconda-54d78aa26706bc22d37846a27b1a95ea000fe418.tar.gz anaconda-54d78aa26706bc22d37846a27b1a95ea000fe418.tar.xz anaconda-54d78aa26706bc22d37846a27b1a95ea000fe418.zip |
Fix error reporting messages (sfernand, #242252).
-rw-r--r-- | autopart.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autopart.py b/autopart.py index 03a05eb9d..bfc4e05aa 100644 --- a/autopart.py +++ b/autopart.py @@ -985,17 +985,17 @@ def processPartitioning(diskset, requests, newParts): try: fitConstrained(diskset, requests, 1, newParts) except PartitioningError, msg: - raise PartitioningError, _("Could not allocate cylinder-based partitions as primary partitions.\n\n%s") % msg + raise PartitioningError, _("Could not allocate cylinder-based partitions as primary partitions.\n") + str(msg) try: fitSized(diskset, requests, 1, newParts) except PartitioningError, msg: - raise PartitioningError, _("Could not allocate partitions as primary partitions.\n\n%s") % msg + raise PartitioningError, _("Could not allocate partitions as primary partitions.\n") + str(msg) try: fitConstrained(diskset, requests, 0, newParts) except PartitioningError, msg: - raise PartitioningError, _("Could not allocate cylinder-based partitions.\n\n%s") % msg + raise PartitioningError, _("Could not allocate cylinder-based partitions.\n") + str(msg) # Don't need to handle the exception here since we leave the message alone. fitSized(diskset, requests, 0, newParts) |