Re: [PATCH] RescueInterface should inherit from InstallInterfaceBase too

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

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux