[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]