summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 12:15:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 12:15:13 +0000
commit70334ee21d9891cf64fa48e423c5128250e7397b (patch)
tree12c3de7fbbe21654976cd4ae7df905d992d3a9a3 /urpm.pm
parent3902abac841676f5687e371ef7211f865d394d13 (diff)
downloadurpmi-70334ee21d9891cf64fa48e423c5128250e7397b.tar
urpmi-70334ee21d9891cf64fa48e423c5128250e7397b.tar.gz
urpmi-70334ee21d9891cf64fa48e423c5128250e7397b.tar.bz2
urpmi-70334ee21d9891cf64fa48e423c5128250e7397b.tar.xz
urpmi-70334ee21d9891cf64fa48e423c5128250e7397b.zip
make translate the default in check_sources_signatures() code since it is
always used with translate
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 0e52a0a0..f7958272 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3176,7 +3176,7 @@ sub translate_why_removed_one {
$fullname . ($s ? "\n ($s)" : '');
}
-#- options: callback, basename, translate
+#- options: callback, basename
sub check_sources_signatures {
my ($urpm, $sources_install, $sources, %options) = @_;
sort(_check_sources_signatures($urpm, $sources_install, %options),
@@ -3237,7 +3237,7 @@ sub _check_sources_signatures {
);
}
}
- map { ($options{basename} ? basename($_) : $_) . ($options{translate} ? ": $invalid_sources{$_}" : "") }
+ map { ($options{basename} ? basename($_) : $_) . ": $invalid_sources{$_}" }
keys %invalid_sources;
}