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 > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-18-2010, 01:38 PM
Chris Lumens
 
Default RescueInterface should inherit from InstallInterfaceBase too

> diff --git a/rescue.py b/rescue.py
> index 73e4258..a0f1f9c 100644
> --- a/rescue.py
> +++ b/rescue.py
> @@ -42,7 +42,7 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
> import logging
> log = logging.getLogger("anaconda")
>
> -class RescueInterface:
> +class RescueInterface(InstallInterfaceBase):
> def waitWindow(self, title, text):
> return WaitWindow(self.screen, title, text)
>
> @@ -118,6 +118,7 @@ class RescueInterface:
> pass
>
> def __init__(self, screen):
> + InstallInterfaceBase.__init__(self)
> self.screen = screen
>
> # XXX grub-install is stupid and uses df output to figure out

Make sure you:

from installinterfacebase import InstallInterfaceBase

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-18-2010, 01:51 PM
Hans de Goede
 
Default RescueInterface should inherit from InstallInterfaceBase too

Good one, new revision coming up.

On 02/18/2010 03:38 PM, Chris Lumens wrote:

diff --git a/rescue.py b/rescue.py
index 73e4258..a0f1f9c 100644
--- a/rescue.py
+++ b/rescue.py
@@ -42,7 +42,7 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
import logging
log = logging.getLogger("anaconda")

-class RescueInterface:
+class RescueInterface(InstallInterfaceBase):
def waitWindow(self, title, text):
return WaitWindow(self.screen, title, text)

@@ -118,6 +118,7 @@ class RescueInterface:
pass

def __init__(self, screen):
+ InstallInterfaceBase.__init__(self)
self.screen = screen

# XXX grub-install is stupid and uses df output to figure out


Make sure you:

from installinterfacebase import InstallInterfaceBase

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
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 02:13 AM.

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