Re: [master] Log upon leaving installer steps as well as entering (a part of #524980).

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

 



Looks good. Martin

----- "Ales Kozumplik" <akozumpl@xxxxxxxxxx> wrote:

> Also includes mentioning the fact when a step is direct.
> ---
>  dispatch.py |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/dispatch.py b/dispatch.py
> index c4cfa7a..460faf1 100644
> --- a/dispatch.py
> +++ b/dispatch.py
> @@ -186,6 +186,7 @@ class Dispatcher(object):
>  	if self.step == None:
>  	    self.step = self.firstStep
>  	else:
> +            log.info("leaving (%d) step %s" %(self._getDir(),
> installSteps[self.step][0]))
>  	    self.step = self.step + self._getDir()
>  
>  	if self.step >= len(installSteps):
> @@ -196,10 +197,11 @@ class Dispatcher(object):
>  
>              if self.stepIsDirect(self.step) and not
> self.stepInSkipList(self.step):
>  	        (stepName, stepFunc) = installSteps[self.step]
> -                log.info("moving (%d) to step %s" %(self._getDir(),
> stepName))
> +                log.info("moving (%d) to direct step %s"
> %(self._getDir(), stepName))
>  		rc = stepFunc(self.anaconda)
>                  if rc in [DISPATCH_BACK, DISPATCH_FORWARD]:
>  		    self._setDir(rc)
> +                log.info("leaving (%d) direct step %s"
> %(self._getDir(), stepName))
>  		# if anything else, leave self.dir alone
>  
>  	    self.step = self.step + self._getDir()
> -- 
> 1.6.2.5
> 
> _______________________________________________
> 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