summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-03 17:21:06 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-03 17:21:06 +0000
commit039043dce270c730cd0880b30f18fd0665a8d5f9 (patch)
tree7fbc4332363731a88404cd2d9baacd721afdd548 /drakwizard.pl
parent9518e6f02ba555d798877604c8f50daf44486f45 (diff)
downloaddrakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.gz
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.bz2
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.xz
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.zip
bless directly the wizard object instead of wrapping it in a hash
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index df20ec4b..4b52d0a4 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -87,11 +87,11 @@ if ($err) {
}
$::in = $in;
-if ($wiz->{o}{use_new_data_structure}) {
- my $wizard = wizards->new($wiz->{o});
+if ($wiz->{use_new_data_structure}) {
+ my $wizard = wizards->new($wiz);
$wizard->safe_process($in);
} else {
- wizard($wiz->{o});
+ wizard($wiz);
}
$in->exit;