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 > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-19-2011, 09:46 PM
David Cantrell
 
Default Remove unused Platform.validBootLoaderPartSize method.

Ack.

David Lehman <dlehman@redhat.com> wrote:

> ---
> pyanaconda/platform.py | 11 -----------
> 1 files changed, 0 insertions(+), 11 deletions(-)
>
> diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
> index 5fdb73d..e28c680 100644
> --- a/pyanaconda/platform.py
> +++ b/pyanaconda/platform.py
> @@ -174,17 +174,6 @@ class Platform(object):
> return [PartSpec(mountpoint="/boot", fstype=self.defaultBootFSType, size=500,
> weight=self.weight(mountpoint="/boot"))]
>
> - def validBootLoaderPartSize(self, size):
> - """ Is the given size (in MB) acceptable for a bootloader device? """
> - if not isinstance(size, int) and not isinstance(size, float):
> - return False
> -
> - return ((self.bootloader.stage1_device_min_size is None or
> - size >= self.bootloader.stage1_device_min_size)
> - and
> - (self.bootloader.stage1_device_max_size is None or
> - size <= self.bootloader.stage1_device_max_size))
> -
> def weight(self, fstype=None, mountpoint=None):
> """ Given an fstype (as a string) or a mountpoint, return an integer
> for the base sorting weight. This is used to modify the sort
> --
> 1.7.3.4
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--
David Cantrell <dcantrell@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Seattle, WA | UTC-7

_______________________________________________
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 10:10 PM.

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