summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-31 18:04:40 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-31 18:04:40 +0000
commitf4a1ea549da7200b22a4f6d17459c86b62d6660a (patch)
tree8a8b577069e77b04b2b3c519d52d022bee8757ad /urpm/media.pm
parentff4fea854b15677135fda9bb7424ce26ee2bfd0b (diff)
downloadurpmi-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
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
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, $_);