[master 1/1] Clarify the allocation error message (#1147974)

bcl installerbot-noreply at redhat.com
Fri Feb 27 19:06:16 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

"Unable to allocate requested partition scheme." is vague. Instead tell
the user there wasn't enough space.
---
 blivet/partitioning.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/partitioning.py b/blivet/partitioning.py
index 9c3f47d..bc5ba67 100644
--- a/blivet/partitioning.py
+++ b/blivet/partitioning.py
@@ -813,7 +813,7 @@ def allocatePartitions(storage, disks, partitions, freespace):
                 break
 
         if free is None:
-            raise PartitioningError(_("Unable to allocate requested partition scheme."))
+            raise PartitioningError(_("Not enough free space to allocate the requested partition scheme."))
 
         _disk = use_disk
         disklabel = _disk.format


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/32948e9faa28611a6c0e77079d7bcf21f03c9821


More information about the anaconda-patches mailing list