diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-20 12:07:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-20 12:07:12 +0000 |
commit | 3902abac841676f5687e371ef7211f865d394d13 (patch) | |
tree | 6641973f6d291db0e8d0dfafbec07c41a13298da | |
parent | 07a1860e367abea8809523f08446e58486357d01 (diff) | |
download | urpmi-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
-rw-r--r-- | urpm.pm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}, |