diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2011-05-09 17:42:19 +0200 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2011-05-19 13:40:35 +0200 |
commit | 2d349e439a15f7f4923fbada7ef6919edc85d972 (patch) | |
tree | 0d49cd80b94040a3ca5ace1e23555d79cb14f213 /pyanaconda/installclass.py | |
parent | 086de6a71b5b02729aa9d8a61f576650565c4caa (diff) | |
download | anaconda-2d349e439a15f7f4923fbada7ef6919edc85d972.tar.gz anaconda-2d349e439a15f7f4923fbada7ef6919edc85d972.tar.xz anaconda-2d349e439a15f7f4923fbada7ef6919edc85d972.zip |
dispatch: fix remaining places using the old dispatch interface.
dispatch.skipStep("step", skip=0) is
dispatch.request_step("step") now and can not be unskipped again.
dispatch.stepInSkipList is dispatch.step_disabled and there's a function
for the inverse check: dispatch.step_enabled.
Diffstat (limited to 'pyanaconda/installclass.py')
-rw-r--r-- | pyanaconda/installclass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py index 70ed0faa9..508f3b350 100644 --- a/pyanaconda/installclass.py +++ b/pyanaconda/installclass.py @@ -145,7 +145,7 @@ class BaseInstallClass(object): # upgrade will also always force looking for an upgrade. if flags.cmdline.has_key("upgrade"): - dispatch.skipStep("findrootparts", skip = 0) + dispatch.request_step("findrootparts") # allow interface backends to skip certain steps. map(lambda s: dispatch.skipStep(s), anaconda.intf.unsupported_steps()) |