summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-29 16:10:04 +0000
committerMike Fulbright <msf@redhat.com>2001-03-29 16:10:04 +0000
commit6eef0a43afb1622cbeaecb38bd887a32e621b547 (patch)
tree2212a94bcd4c67e354bef2ac9238cb7c43261be3 /text.py
parent534c42e29a9c719e3bd6e66f5af7771e2ecd68b2 (diff)
downloadanaconda-6eef0a43afb1622cbeaecb38bd887a32e621b547.tar.gz
anaconda-6eef0a43afb1622cbeaecb38bd887a32e621b547.tar.xz
anaconda-6eef0a43afb1622cbeaecb38bd887a32e621b547.zip
Add ability to watch installer flow on VC3, toggled by the boolean debugsteps
Diffstat (limited to 'text.py')
-rw-r--r--text.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/text.py b/text.py
index 798179e24..ea2737f58 100644
--- a/text.py
+++ b/text.py
@@ -550,6 +550,7 @@ class InstallWindow:
def __call__ (self, screen, todo):
if todo.doInstall ():
return INSTALL_BACK
+
return INSTALL_OK
class FinishedWindow:
@@ -1086,14 +1087,20 @@ class InstallInterface:
"complete"]
]
+ # set to 1 if you want to see where in the install you are
+ debugsteps = 0
+
dir = 1
self.steps = self.commonSteps
while self.step >= 0 and self.step < len(self.steps) and self.steps[self.step]:
step = self.steps[self.step]
-
+ if debugsteps:
+ log("step is %s", step[0])
rc = INSTALL_OK
if (len(step) == 4):
+ if debugsteps:
+ log("skipStep[step] = %s", todo.instClass.skipStep(step[3]))
if (todo.instClass.skipStep(step[3])):
rc = INSTALL_NOOP