summaryrefslogtreecommitdiffstats
path: root/dispatch.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-06-09 18:18:56 +0000
committerChris Lumens <clumens@redhat.com>2006-06-09 18:18:56 +0000
commit0f0cdd5b9c35b2af76f25fdffa42dcc520407305 (patch)
treef83fea5103de44db5798928c37a3fb5dfc2ab12f /dispatch.py
parentfdce4e750efa7eb4a6272b98589ec86d8166c898 (diff)
downloadanaconda-0f0cdd5b9c35b2af76f25fdffa42dcc520407305.tar.gz
anaconda-0f0cdd5b9c35b2af76f25fdffa42dcc520407305.tar.xz
anaconda-0f0cdd5b9c35b2af76f25fdffa42dcc520407305.zip
Yet more direction cleanups.
Diffstat (limited to 'dispatch.py')
-rw-r--r--dispatch.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/dispatch.py b/dispatch.py
index 58727df16..5967fe38b 100644
--- a/dispatch.py
+++ b/dispatch.py
@@ -185,7 +185,7 @@ class Dispatcher:
if self.step == None:
self.step = self.firstStep
else:
- self.step = self.step + self.dir
+ self.step = self.step + self._getDir()
if self.step >= len(installSteps):
return None
@@ -195,13 +195,13 @@ class Dispatcher:
if self.stepIsDirect(self.step) and not self.stepInSkipList(self.step):
(stepName, stepFunc) = installSteps[self.step]
- log.info("moving (%d) to step %s" %(self.dir, stepName))
+ log.info("moving (%d) to step %s" %(self._getDir(), stepName))
rc = stepFunc(self.anaconda)
if rc in [DISPATCH_BACK, DISPATCH_FORWARD]:
- self.dir = rc
+ self._setDir(rc)
# if anything else, leave self.dir alone
- self.step = self.step + self.dir
+ self.step = self.step + self._getDir()
if self.step == len(installSteps):
return None
@@ -214,7 +214,7 @@ class Dispatcher:
self.step = len(installSteps) - 1
while self.skipSteps.has_key(installSteps[self.step][0]):
self.step = self.step - 1
- log.info("moving (%d) to step %s" %(self.dir, installSteps[self.step][0]))
+ log.info("moving (%d) to step %s" %(self._getDir(), installSteps[self.step][0]))
def currentStep(self):
if self.step == None: