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

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


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