From f4a1ea549da7200b22a4f6d17459c86b62d6660a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 31 Mar 2009 18:04:40 +0000 Subject: (parse_media) fix latest commit 255088 from cfergeau: ->{debug} may not always exist (#49354), side effect of #49226 fix --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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, $_); -- cgit v1.2.1