summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 12:07:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 12:07:12 +0000
commit3902abac841676f5687e371ef7211f865d394d13 (patch)
tree6641973f6d291db0e8d0dfafbec07c41a13298da /urpm.pm
parent07a1860e367abea8809523f08446e58486357d01 (diff)
downloadurpmi-3902abac841676f5687e371ef7211f865d394d13.tar
urpmi-3902abac841676f5687e371ef7211f865d394d13.tar.gz
urpmi-3902abac841676f5687e371ef7211f865d394d13.tar.bz2
urpmi-3902abac841676f5687e371ef7211f865d394d13.tar.xz
urpmi-3902abac841676f5687e371ef7211f865d394d13.zip
check_sources_signatures callback is only used in rpmdrake, and doesn't use it
parameters. At least remove passing %options which makes it hard to know what options are really used
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 2c78711e..0e52a0a0 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3176,6 +3176,7 @@ sub translate_why_removed_one {
$fullname . ($s ? "\n ($s)" : '');
}
+#- options: callback, basename, translate
sub check_sources_signatures {
my ($urpm, $sources_install, $sources, %options) = @_;
sort(_check_sources_signatures($urpm, $sources_install, %options),
@@ -3229,7 +3230,7 @@ sub _check_sources_signatures {
}
#- invoke check signature callback.
$options{callback} and $options{callback}->(
- $urpm, $filepath, %options,
+ $urpm, $filepath,
id => $id,
verif => $verif,
why => $invalid_sources{$filepath},