FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-27-2009, 01:03 PM
Martin Sivak
 
Default Log upon leaving installer steps as well as entering (a part of #524980).

Looks good. Martin

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

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

Thread Tools




All times are GMT. The time now is 06:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org