summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-03 15:44:53 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-03 15:44:53 +0000
commit2c0d82156fa7b81b232684cc334ea9b0a379c439 (patch)
tree7a680056b2ef3d65c14aa19dc393d3148a4157b5 /drakwizard.pl
parent34b16bdcffdfc915a7052074504b8004ac3308c6 (diff)
downloaddrakwizard-2c0d82156fa7b81b232684cc334ea9b0a379c439.tar
drakwizard-2c0d82156fa7b81b232684cc334ea9b0a379c439.tar.gz
drakwizard-2c0d82156fa7b81b232684cc334ea9b0a379c439.tar.bz2
drakwizard-2c0d82156fa7b81b232684cc334ea9b0a379c439.tar.xz
drakwizard-2c0d82156fa7b81b232684cc334ea9b0a379c439.zip
use the new wizards API
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index 890a9489..049cfcb4 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -91,8 +91,8 @@ if ($err) {
$::in = $in;
if ($wiz->{o}{use_new_data_structure}) {
require wizards;
- my $wizard = wizards->new;
- $wizard->safe_process($wiz->{o}, $in);
+ my $wizard = wizards->new($wiz->{o});
+ $wizard->safe_process($in);
} else {
wizard($wiz->{o});
}