summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 8c4d6de4..b9cad615 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -189,9 +189,7 @@ sub read_config_add_passwords {
foreach (values %$config) {
my $u = parse_url_with_login($_->{url}) or next;
if (my ($e) = grep { ($_->{default} || $_->{machine} eq $u->{machine}) && $_->{login} eq $u->{login} } @netrc) {
- warn "was $_->{url} ", %$u, "\n";
$_->{url} = sprintf('%s://%s:%s@%s%s', $u->{proto}, $u->{login}, $e->{password}, $u->{machine}, $u->{dir});
- warn "url is now $_->{url}\n";
} else {
$urpm->{log}("no password found for $u->{login}@$u->{machine}");
}