aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-01 13:55:03 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-01 13:55:03 +0000
commite5148216605e9b15a61a8a24b9abecc35ee66f56 (patch)
tree0f2c26afd36415a4efeda7032aba412fd032c7fb
parent2e9df216ebaeee51a78c32298aba7e047afc804e (diff)
downloadrpmdrake-e5148216605e9b15a61a8a24b9abecc35ee66f56.tar
rpmdrake-e5148216605e9b15a61a8a24b9abecc35ee66f56.tar.gz
rpmdrake-e5148216605e9b15a61a8a24b9abecc35ee66f56.tar.bz2
rpmdrake-e5148216605e9b15a61a8a24b9abecc35ee66f56.tar.xz
rpmdrake-e5148216605e9b15a61a8a24b9abecc35ee66f56.zip
perl_checker fixes
-rw-r--r--Rpmdrake/edit_urpm_sources.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 083b7210..6e382bf5 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -120,7 +120,7 @@ discs. Please choose whether to configure update sources only, or the full set
of sources."),
transient => $::main_window,
yesno => 1, text => { yes => N("Full set of sources"), no => N("Update sources only") },
- ) : 1
+ ) : 1;
}
sub easy_add_callback_with_mirror() {
@@ -154,7 +154,7 @@ sub easy_add_callback() {
#- cooker and community don't have update sources
my $want_base_distro = _want_base_distro();
- warn_for_network_need() or return;
+ warn_for_network_need(undef, transient => $::main_window) or return;
my $wait = wait_msg(N("Please wait, adding media..."));
add_distrib_update_media($urpm, undef, if_(!$want_base_distro, only_updates => 1));
$offered_to_add_sources->[0] = 1;