From 3902abac841676f5687e371ef7211f865d394d13 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Nov 2006 12:07:12 +0000 Subject: 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 --- urpm.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpm.pm') 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}, -- cgit v1.2.1