aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-11-29 15:05:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-11-29 15:05:20 +0000
commitc0bd7cfaab4967f08a433b549b9cff2efdde9014 (patch)
treef16dfa62116cc08bdc5def03f635a4b0a96a3ee3 /Rpmdrake
parente4314901670885719d5538c4e3e112793bac8398 (diff)
downloadrpmdrake-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
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm4
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.");