summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-26 13:27:54 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-26 13:27:54 +0000
commitb32cef1e38a0eb5167893cfa3434491d03412bd1 (patch)
treebfc02b2a4ff1d1c828ee2b0f8bcd067ec9117c8b /gurpmi.pm
parentaf0b45c45c6cc1a5dcd1fa4f33f0867ffa3df07e (diff)
downloadurpmi-b32cef1e38a0eb5167893cfa3434491d03412bd1.tar
urpmi-b32cef1e38a0eb5167893cfa3434491d03412bd1.tar.gz
urpmi-b32cef1e38a0eb5167893cfa3434491d03412bd1.tar.bz2
urpmi-b32cef1e38a0eb5167893cfa3434491d03412bd1.tar.xz
urpmi-b32cef1e38a0eb5167893cfa3434491d03412bd1.zip
perl_checker cleanups
Diffstat (limited to 'gurpmi.pm')
-rw-r--r--gurpmi.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index f52ac553..4c9bd389 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -73,7 +73,7 @@ sub parse_command_line() {
# keep a copy for gurpmi2
{
local @ARGV = @ARGV;
- urpm::args::parse_cmdline(urpm => { options => \%options});
+ urpm::args::parse_cmdline(urpm => { options => \%options });
}
# Expand *.urpmi arguments
@@ -101,9 +101,9 @@ sub parse_command_line() {
return @all_rpms;
}
-sub but ($) { " $_[0] " }
+sub but($) { " $_[0] " }
-sub quit () {
+sub quit() {
if (Gtk2->main_level) {
Gtk2->main_quit;
} else {
@@ -112,7 +112,7 @@ sub quit () {
}
}
-sub cancel_n_quit () {
+sub cancel_n_quit() {
Gtk2->main_quit;
exit(1);
}