diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-21 07:57:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-21 07:57:08 +0000 |
commit | a2d7908b4131602ffdfa61eb229af00ac00f9345 (patch) | |
tree | 190c38714e499d01cd8c8cc88c56fdfe5f98cffe | |
parent | d337f99146ae9db6acaa49e2ceb123da07b38032 (diff) | |
download | urpmi-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-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/media.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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, $_); |