summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-06 14:47:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-06 14:47:26 +0000
commit6f4f5ae9f37abaedff2bd6af0b3581e837f86065 (patch)
treea91181c686a5cb09f071c001a73fb908a48481c7 /urpm
parent20b212f6836cf596f9055cefcb06948a599e875b (diff)
downloadurpmi-6f4f5ae9f37abaedff2bd6af0b3581e837f86065.tar
urpmi-6f4f5ae9f37abaedff2bd6af0b3581e837f86065.tar.gz
urpmi-6f4f5ae9f37abaedff2bd6af0b3581e837f86065.tar.bz2
urpmi-6f4f5ae9f37abaedff2bd6af0b3581e837f86065.tar.xz
urpmi-6f4f5ae9f37abaedff2bd6af0b3581e837f86065.zip
The parallel handlers define the same function. This could lead to warnings; silence them.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ka_run.pm2
-rw-r--r--urpm/parallel_ssh.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index 4100ee96..cb4f2d6c 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -250,6 +250,8 @@ sub parallel_install {
package urpm;
+no warnings 'redefine';
+
sub handle_parallel_options {
my (undef, $options) = @_;
my ($media, $ka_run_options) = $options =~ /ka-run(?:\(([^\)]*)\))?:(.*)/;
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index 04b56fbc..1ed4406a 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -287,6 +287,8 @@ sub parallel_install {
package urpm;
+no warnings 'redefine';
+
sub handle_parallel_options {
my (undef, $options) = @_;
my ($id, @nodes) = split /:/, $options;