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 Check that there is a stage1 req before validating it otherwise.

Ack.

David Lehman <dlehman@redhat.com> wrote:

> ---
> pyanaconda/platform.py | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
> index 0419592..5fdb73d 100644
> --- a/pyanaconda/platform.py
> +++ b/pyanaconda/platform.py
> @@ -150,7 +150,11 @@ class Platform(object):
>
> Returns a list of error strings.
> """
> - return self.checkDiskLabel(self.bootLoaderDevice)
> + req = self.bootLoaderDevice
> + if not req:
> + return [_("you have not created a bootloader stage1 target device")]
> +
> + return self.checkDiskLabel(req)
>
> @property
> def minimumSector(self, disk):
> --
> 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 03:48 AM.

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