aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-05-30 16:53:06 +0200
committerAngelo Naselli <anaselli@linux.it>2015-05-30 16:53:06 +0200
commitc95b94982d1e2f05370e55998bdd654d6351f8c0 (patch)
tree5fb75d4a06ad46224ab9b6d7bb0a18585a8a37fd
parent61e622647dcf0424ad7b05ca122f56624752a604 (diff)
downloadmanatools-c95b94982d1e2f05370e55998bdd654d6351f8c0.tar
manatools-c95b94982d1e2f05370e55998bdd654d6351f8c0.tar.gz
manatools-c95b94982d1e2f05370e55998bdd654d6351f8c0.tar.bz2
manatools-c95b94982d1e2f05370e55998bdd654d6351f8c0.tar.xz
manatools-c95b94982d1e2f05370e55998bdd654d6351f8c0.zip
removed warning for calling
urpm::media::_update_medium__parse_if_unmodified__local
-rw-r--r--lib/ManaTools/rpmdragora.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ManaTools/rpmdragora.pm b/lib/ManaTools/rpmdragora.pm
index d8a8f44d..c6f3a23e 100644
--- a/lib/ManaTools/rpmdragora.pm
+++ b/lib/ManaTools/rpmdragora.pm
@@ -745,6 +745,8 @@ sub update_sources {
my ($urpm, %options) = @_;
my $cancel = 0;
+ # NOTE urpm::media::_update_medium__parse_if_unmodified__local needs it as string
+ $options{probe_with} = "" if !defined($options{probe_with});
my $factory = yui::YUI::widgetFactory;