summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 20:58:24 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 20:58:24 +0000
commit2ba511786fbdbb3338f35e07166150cf75504e2d (patch)
tree76456f73aab268c6faa3e26e76e589261d5a84b5 /text.py
parent665ece8ffd610af23908a8be5de7d88febae23f9 (diff)
downloadanaconda-2ba511786fbdbb3338f35e07166150cf75504e2d.tar.gz
anaconda-2ba511786fbdbb3338f35e07166150cf75504e2d.tar.xz
anaconda-2ba511786fbdbb3338f35e07166150cf75504e2d.zip
Remove anaconda object from installSteps, and have the dispatcher call
the step functions directly instead of using apply.
Diffstat (limited to 'text.py')
-rw-r--r--text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.py b/text.py
index 7dc5d84c8..5beeb29e9 100644
--- a/text.py
+++ b/text.py
@@ -483,7 +483,7 @@ class InstallInterface:
parted.exception_set_handler(self.partedExceptionWindow)
lastrc = INSTALL_OK
- (step, args) = dispatch.currentStep()
+ (step, anaconda) = dispatch.currentStep()
while step:
(file, classNames) = stepToClasses[step]
@@ -509,7 +509,7 @@ class InstallInterface:
#log.info("TUI running step %s (class %s, file %s)" %
#(step, file, classNames))
- rc = apply(win, (self.screen, ) + args)
+ rc = win(self.screen, anaconda)
if rc == INSTALL_NOOP:
rc = lastrc