summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 16:49:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 16:49:00 +0000
commit922d528b7664b8b885f596055bd25232f3df32a7 (patch)
treea6cb14b1f983b66b55f46fc6f04d2172e4b13b44 /perl-install/printerdrake.pm
parent3021e910718c4702abe831c7aa53e8a7bf8b135f (diff)
downloaddrakx-922d528b7664b8b885f596055bd25232f3df32a7.tar
drakx-922d528b7664b8b885f596055bd25232f3df32a7.tar.gz
drakx-922d528b7664b8b885f596055bd25232f3df32a7.tar.bz2
drakx-922d528b7664b8b885f596055bd25232f3df32a7.tar.xz
drakx-922d528b7664b8b885f596055bd25232f3df32a7.zip
remove unneeded parentheses on the right side of infix if/foreach/unless
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 32edbb867..394c105e5 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -2959,7 +2959,7 @@ sub wizard_close {
$::Wizard_no_previous = 1;
$::Wizard_no_cancel = 1;
$::Wizard_finished = 1;
- wizard_congratulations($in) if ($mode == 1);
+ wizard_congratulations($in) if $mode == 1;
undef $::isWizard;
$::WizardWindow->destroy if defined $::WizardWindow;
undef $::WizardWindow;
@@ -3364,7 +3364,7 @@ sub main {
$queue = $printer->{QUEUE};
}
};
- wizard_close($in, 0) if ($@ =~ /wizcancel/);
+ wizard_close($in, 0) if $@ =~ /wizcancel/;
} else {
$::expert or $printer->{TYPE} = "LOCAL";
wizard_welcome($printer, $in, $upNetwork) or next;