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 > Cluster Development

 
 
LinkBack Thread Tools
 
Old 02-18-2010, 08:47 AM
Hans de Goede
 
Default RescueInterface should inherit from InstallInterfaceBase too

---
rescue.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

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

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

---
rescue.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/rescue.py b/rescue.py
index 73e4258..b48e27d 100644
--- a/rescue.py
+++ b/rescue.py
@@ -30,6 +30,7 @@ import sys
import os
import isys
from storage import mountExistingSystem
+from installinterfacebase import InstallInterfaceBase
import iutil
import shutil
import time
@@ -42,7 +43,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 +119,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
--
1.7.0

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

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