Re: [PATCH] Add missing methods to RescueInterface

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

 



> diff --git a/rescue.py b/rescue.py
> index 4ae4d6f..7f48150 100644
> --- a/rescue.py
> +++ b/rescue.py
> @@ -102,6 +102,12 @@ class RescueInterface:
>          w.pop()
>          return (passphrase, isglobal)
>  
> +    def resetInitializeDiskQuestion(self):
> +        self._initLabelAnswers = {}
> +
> +    def resetReinitInconsistentLVMQuestion(self):
> +        self._inconsistentLVMAnswers = {}
> +
>      def shutdown (self):
>          pass

ACK.

Incidentally, one day we really need to make a base Interface class that
everything can inherit stuff like this from.  Further, I've thought
about adapting cmdline.py:InstallInterface to somehow just halt and
print its error message on method call.  I'm tired of bugs like this.

- Chris

_______________________________________________
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