diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2009-11-30 09:22:43 +0100 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2009-11-30 09:22:43 +0100 |
commit | c8033e210f157bd0cfac2e90511ad971d3521d9d (patch) | |
tree | afd099dd9b82291c1870170e1389b30616a9a555 /dispatch.py | |
parent | faff9442f6333ba11e64ccf28919eb8af0997598 (diff) | |
download | anaconda-c8033e210f157bd0cfac2e90511ad971d3521d9d.tar.gz anaconda-c8033e210f157bd0cfac2e90511ad971d3521d9d.tar.xz anaconda-c8033e210f157bd0cfac2e90511ad971d3521d9d.zip |
Log upon leaving installer steps as well as entering (a part of #524980).
Also includes mentioning the fact when a step is direct.
Diffstat (limited to 'dispatch.py')
-rw-r--r-- | dispatch.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dispatch.py b/dispatch.py index c4cfa7a16..dbf4269f9 100644 --- a/dispatch.py +++ b/dispatch.py @@ -186,7 +186,8 @@ class Dispatcher(object): if self.step == None: self.step = self.firstStep else: - self.step = self.step + self._getDir() + log.info("leaving (%d) step %s" %(self._getDir(), installSteps[self.step][0])) + self.step = self.step + self._getDir() if self.step >= len(installSteps): return None @@ -197,9 +198,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.debug("%s is a direct step" %(stepName,)) rc = stepFunc(self.anaconda) if rc in [DISPATCH_BACK, DISPATCH_FORWARD]: self._setDir(rc) + log.info("leaving (%d) step %s" %(self._getDir(), stepName)) # if anything else, leave self.dir alone self.step = self.step + self._getDir() |