[PATCH 1/2] Fix a traceback when user makes a partition whose size is out-of-bounds.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Resolves: rhbz#722963
---
 pyanaconda/storage/partitioning.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
index 38bb513..047696c 100644
--- a/pyanaconda/storage/partitioning.py
+++ b/pyanaconda/storage/partitioning.py
@@ -1073,13 +1073,13 @@ def allocatePartitions(storage, disks, partitions, freespace, bootloader=None):
             if problem < 0:
                 raise PartitioningError("partition is too small for %s formatting "
                                         "(allowable size is %d MB to %d MB)"
-                                        % (problem, _part.format.name,
+                                        % (_part.format.name,
                                            _part.format.minSize,
                                            _part.format.maxSize))
             elif problem > 0:
                 raise PartitioningError("partition is too large for %s formatting "
                                         "(allowable size is %d MB to %d MB)"
-                                        % (problem, _part.format.name,
+                                        % (_part.format.name,
                                            _part.format.minSize,
                                            _part.format.maxSize))
 
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux