From 7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 31 May 2007 15:49:52 +0000 Subject: simplify (callback is never passed as parameter) --- urpm/media.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'urpm') diff --git a/urpm/media.pm b/urpm/media.pm index 9deb87e2..cc7aa684 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1105,12 +1105,12 @@ sub _parse_synthesis { $urpm->parse_synthesis($synthesis_file, $o_callback ? (callback => $o_callback) : @{[]}); } sub _parse_hdlist_or_synthesis { - my ($urpm, $medium, $hdlist_or, $prefer_synthesis, $o_callback) = @_; + my ($urpm, $medium, $hdlist_or, $prefer_synthesis) = @_; if (_synthesis_or_not($medium, $prefer_synthesis)) { - _parse_synthesis($urpm, $medium, $hdlist_or, $o_callback); + _parse_synthesis($urpm, $medium, $hdlist_or); } else { - _parse_hdlist($urpm, $medium, $hdlist_or, $o_callback); + _parse_hdlist($urpm, $medium, $hdlist_or); } } -- cgit v1.2.1