summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-24 17:51:08 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-24 17:51:08 +0000
commit8223d12fa5e64757d7c3defa1875777894160f76 (patch)
tree470081233e2b14da4d03095d62a77c8161da1a41 /urpm/media.pm
parent50bd675340eaa74634b1d6d86162ec4d6b52dca1 (diff)
downloadurpmi-8223d12fa5e64757d7c3defa1875777894160f76.tar
urpmi-8223d12fa5e64757d7c3defa1875777894160f76.tar.gz
urpmi-8223d12fa5e64757d7c3defa1875777894160f76.tar.bz2
urpmi-8223d12fa5e64757d7c3defa1875777894160f76.tar.xz
urpmi-8223d12fa5e64757d7c3defa1875777894160f76.zip
perl_checker cleanups
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index b2cbf192..9c79071f 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -998,10 +998,10 @@ sub _new_distribconf_and_download {
$urpm->{log}(N("retrieving media.cfg file..."));
my $url = $medium->{url};
- $medium->{url} = urpm::cfg::expand_line ($url);
+ $medium->{url} = urpm::cfg::expand_line($url);
urpm::download::sync_rel_one($urpm, $medium, $distribconf->getpath(undef, 'infodir') . '/media.cfg',
quiet => 1, preclean => 1) or return;
- $medium->{url} = urpm::cfg::substitute_back ($medium->{url}, $url);
+ $medium->{url} = urpm::cfg::substitute_back($medium->{url}, $url);
$distribconf;
}
@@ -1831,7 +1831,7 @@ sub update_those_media {
my $unsubstituted_url = $medium->{url};
$medium->{url} = urpm::cfg::expand_line($medium->{url}) if $medium->{url};
my $rc = _update_medium($urpm, $medium, %options);
- $medium->{url} = urpm::cfg::substitute_back ($medium->{url}, $unsubstituted_url);
+ $medium->{url} = urpm::cfg::substitute_back($medium->{url}, $unsubstituted_url);
$rc or return if !$options{allow_failures};
$updates_result{$rc || 'error'}++;
}