summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ka_run.pm
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/parallel_ka_run.pm
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/parallel_ka_run.pm')
-rw-r--r--urpm/parallel_ka_run.pm2
1 files changed, 2 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(?:\(([^\)]*)\))?:(.*)/;