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

Re: [PATCH 1/2] Skip the filter/cleardisk steps on upgrades, too (#568334).



Ack for both.

On Thu, 2010-02-25 at 10:39 -0500, Chris Lumens wrote:
> We run upgrade.setSteps late, from the UI should you select "upgrade" from
> the proper screen.  This means the earlier text.setSteps gets overridden so
> we need to add a permanent=1 to all these.
> ---
>  text.py |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/text.py b/text.py
> index e841c70..38aebc2 100644
> --- a/text.py
> +++ b/text.py
> @@ -663,10 +663,10 @@ class InstallInterface(InstallInterfaceBase):
>          self.screen.finish()
>  
>      def setSteps(self, anaconda):
> -        anaconda.dispatch.skipStep("filtertype")
> -        anaconda.dispatch.skipStep("filter")
> -        anaconda.dispatch.skipStep("cleardiskssel")
> -        anaconda.dispatch.skipStep("group-selection")
> +        anaconda.dispatch.skipStep("filtertype", permanent=1)
> +        anaconda.dispatch.skipStep("filter", permanent=1)
> +        anaconda.dispatch.skipStep("cleardiskssel", permanent=1)
> +        anaconda.dispatch.skipStep("group-selection", permanent=1)
>  
>  def killSelf(screen):
>      screen.finish()



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