summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-21 07:57:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-21 07:57:08 +0000
commita2d7908b4131602ffdfa61eb229af00ac00f9345 (patch)
tree190c38714e499d01cd8c8cc88c56fdfe5f98cffe
parentd337f99146ae9db6acaa49e2ceb123da07b38032 (diff)
downloadurpmi-a2d7908b4131602ffdfa61eb229af00ac00f9345.tar
urpmi-a2d7908b4131602ffdfa61eb229af00ac00f9345.tar.gz
urpmi-a2d7908b4131602ffdfa61eb229af00ac00f9345.tar.bz2
urpmi-a2d7908b4131602ffdfa61eb229af00ac00f9345.tar.xz
urpmi-a2d7908b4131602ffdfa61eb229af00ac00f9345.zip
(parse_media) fix debug statement to actually output values
also tag it as translatable (sprintf() could have been used) bug introduced by cfergeau in r255088 on Mar 30 2009 which gratuitously drop the N() call: "Downgrade cryptic log message to debug message, fixes #49226"
-rw-r--r--NEWS2
-rw-r--r--urpm/media.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c8a22cb1..47216a9d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix a debug message
+
Version 6.47 - 19 March 2012
- bash completion:
diff --git a/urpm/media.pm b/urpm/media.pm
index 6195e2df..dfb3d4e8 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -716,7 +716,7 @@ sub parse_media {
if ($_->{searchmedia}) {
$urpm->{searchmedia} = 1;
- $urpm->{debug} and $urpm->{debug}("Search start: %s end: %s", $_->{start}, $_->{end});
+ $urpm->{debug} and $urpm->{debug}(N("Search start: %s end: %s", $_->{start}, $_->{end}));
}
$< == 0 and _generate_medium_names($urpm, $_);