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

Re: [PATCH] Show allowable prepboot size range in exception (#603188)



> diff --git a/storage/partitioning.py b/storage/partitioning.py
> index ba61227..e173909 100644
> --- a/storage/partitioning.py
> +++ b/storage/partitioning.py
> @@ -1011,8 +1011,11 @@ def allocatePartitions(storage, disks, partitions, freespace):
>                  problem = "small"
>  
>              if problem:
> -                raise PartitioningError("partition is too %s for %s formatting"
> -                                        % (problem, _part.format.name))
> +                raise PartitioningError("partition is too %s for %s formatting "
> +                                        "(allowable size is %d MB to %d MB)"
> +                                        % (problem, _part.format.name,
> +                                           _part.format.minSize,
> +                                           _part.format.maxSize))
>  
>              log.debug("checking freespace on %s" % _disk.name)

Provided we've made translators aware that this change is coming, I'm
fine with it too.

- Chris


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