diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-11-29 15:05:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-11-29 15:05:20 +0000 |
commit | c0bd7cfaab4967f08a433b549b9cff2efdde9014 (patch) | |
tree | f16dfa62116cc08bdc5def03f635a4b0a96a3ee3 | |
parent | e4314901670885719d5538c4e3e112793bac8398 (diff) | |
download | rpmdrake-c0bd7cfaab4967f08a433b549b9cff2efdde9014.tar rpmdrake-c0bd7cfaab4967f08a433b549b9cff2efdde9014.tar.gz rpmdrake-c0bd7cfaab4967f08a433b549b9cff2efdde9014.tar.bz2 rpmdrake-c0bd7cfaab4967f08a433b549b9cff2efdde9014.tar.xz rpmdrake-c0bd7cfaab4967f08a433b549b9cff2efdde9014.zip |
(get_string_from_keywords) rename $medium_name as $medium_path for consistency
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 <b>not supported</b> by Mageia."); |