From c0bd7cfaab4967f08a433b549b9cff2efdde9014 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 29 Nov 2012 15:05:20 +0000 Subject: (get_string_from_keywords) rename $medium_name as $medium_path for consistency --- Rpmdrake/gui.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 27764c82..f0ca57bc 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -152,8 +152,8 @@ sub get_string_from_keywords { my ($medium, $name) = @_; my @media_types; if ($medium->{mediacfg}) { - my ($distribconf, $medium_name) = @{$medium->{mediacfg}}; - @media_types = split(':', $distribconf->getvalue($medium_name, 'media_type')) if $distribconf; + my ($distribconf, $medium_path) = @{$medium->{mediacfg}}; + @media_types = split(':', $distribconf->getvalue($medium_path, 'media_type')) if $distribconf; } my $unsupported = N("It is not supported by Mageia."); -- cgit v1.2.1