diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-31 18:04:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-31 18:04:40 +0000 |
commit | f4a1ea549da7200b22a4f6d17459c86b62d6660a (patch) | |
tree | 8a8b577069e77b04b2b3c519d52d022bee8757ad | |
parent | ff4fea854b15677135fda9bb7424ce26ee2bfd0b (diff) | |
download | urpmi-f4a1ea549da7200b22a4f6d17459c86b62d6660a.tar urpmi-f4a1ea549da7200b22a4f6d17459c86b62d6660a.tar.gz urpmi-f4a1ea549da7200b22a4f6d17459c86b62d6660a.tar.bz2 urpmi-f4a1ea549da7200b22a4f6d17459c86b62d6660a.tar.xz urpmi-f4a1ea549da7200b22a4f6d17459c86b62d6660a.zip |
(parse_media) fix latest commit 255088 from cfergeau: ->{debug} may
not always exist (#49354), side effect of #49226 fix
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/media.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- prevent rpmdrake from crashing (#49354), side effect of #49226 fix + Version 6.25 - 31 March 2009 - downgrade cryptic log message to debug message, fixes #49226 diff --git a/urpm/media.pm b/urpm/media.pm index c30ac585..92e46c9e 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -643,7 +643,7 @@ sub parse_media { if ($_->{searchmedia}) { $urpm->{searchmedia} = 1; - $urpm->{debug}("Search start: %s end: %s", $_->{start}, $_->{end}); + $urpm->{debug} and $urpm->{debug}("Search start: %s end: %s", $_->{start}, $_->{end}); } $< == 0 and _generate_medium_names($urpm, $_); |