diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2010-04-23 16:06:47 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2010-04-23 16:06:47 +0000 |
commit | 514df8f730699e5b3b33b2ed48fec9b709128039 (patch) | |
tree | 45347fef54571fe47b79ac3ba87797211a8fb10d /URPM/Resolve.pm | |
parent | 31cce1ad2928336845a52a57fe1c87ba8c49067b (diff) | |
download | perl-URPM-514df8f730699e5b3b33b2ed48fec9b709128039.tar perl-URPM-514df8f730699e5b3b33b2ed48fec9b709128039.tar.gz perl-URPM-514df8f730699e5b3b33b2ed48fec9b709128039.tar.bz2 perl-URPM-514df8f730699e5b3b33b2ed48fec9b709128039.tar.xz perl-URPM-514df8f730699e5b3b33b2ed48fec9b709128039.zip |
only print debug message if debug callback is defined
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r-- | URPM/Resolve.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index f6aab2f..ce2cb4e 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1700,7 +1700,7 @@ sub request_packages_to_upgrade { } } if ($pkg && %options->{idlist} && !grep { $pkg->id == $_ } @{%options->{idlist}}) { - $urpm->{debug_URPM}("not auto-selecting $pkg->fullname because it's not in search medias"); + $urpm->{debug_URPM}("not auto-selecting $pkg->fullname because it's not in search medias") if $urpm->{debug_URPM}; $pkg = undef; } |