FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 07-27-2011, 10:27 PM
David Lehman
 
Default Fix a traceback when user makes a partition whose size is out-of-bounds.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org