summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-31 15:49:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-31 15:49:52 +0000
commit7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7 (patch)
treeeadd9f782cac00dcef9ea17d8a2bfc9ab973a33c /urpm/media.pm
parent210fb9c922a38df29dcb17d05a0cdf3212994658 (diff)
downloadurpmi-7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7.tar
urpmi-7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7.tar.gz
urpmi-7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7.tar.bz2
urpmi-7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7.tar.xz
urpmi-7d9fc6379cdbaaba0c9b40c576ddb2fac3d683c7.zip
simplify (callback is never passed as parameter)
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm6
1 files changed, 3 insertions, 3 deletions
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);
}
}