Re: [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]

 



I apparently already sent this one out before my PTO. Patch 2 is new,
though.

Dave

On Wed, 2011-07-27 at 16:53 -0500, David Lehman wrote:
> 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))
>  


_______________________________________________
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