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 > Ubuntu > Ubuntu Mobile and Embedded

 
 
LinkBack Thread Tools
 
Old 03-24-2009, 03:23 PM
David Lehman
 
Default PReP formats can never be active. (#491865)

---
storage/formats/prepboot.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/storage/formats/prepboot.py b/storage/formats/prepboot.py
index 6d2174b..43798c1 100644
--- a/storage/formats/prepboot.py
+++ b/storage/formats/prepboot.py
@@ -47,6 +47,10 @@ class PPCPRePBoot(DeviceFormat):
"""
DeviceFormat.__init__(self, *args, **kwargs)

+ @propert
+ def status(self):
+ return False
+

register_device_format(PPCPRePBoot)

--
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-24-2009, 03:27 PM
Joel Granados
 
Default PReP formats can never be active. (#491865)

excpet for the syntax error it looks ok.

On Tue, Mar 24, 2009 at 11:23:01AM -0500, David Lehman wrote:
> ---
> storage/formats/prepboot.py | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/storage/formats/prepboot.py b/storage/formats/prepboot.py
> index 6d2174b..43798c1 100644
> --- a/storage/formats/prepboot.py
> +++ b/storage/formats/prepboot.py
> @@ -47,6 +47,10 @@ class PPCPRePBoot(DeviceFormat):
> """
> DeviceFormat.__init__(self, *args, **kwargs)
>
> + @propert
> + def status(self):
> + return False
> +
>
> register_device_format(PPCPRePBoot)
>
> --
> 1.6.0.6
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--
Joel Andres Granados
Brno, Czech Republic, Red Hat.

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

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