From 2d349e439a15f7f4923fbada7ef6919edc85d972 Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Mon, 9 May 2011 17:42:19 +0200 Subject: 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. --- pyanaconda/installclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyanaconda/installclass.py') 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()) -- cgit