diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 21:02:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 21:02:49 +0000 |
commit | d0a292cf431434c705caf361dec640a957a20c1f (patch) | |
tree | 1262d9f10899eee78fb68a7226927e399f2d4119 /urpm | |
parent | 9a938127fbb9337e7322a2b446fa992e17703058 (diff) | |
download | urpmi-d0a292cf431434c705caf361dec640a957a20c1f.tar urpmi-d0a292cf431434c705caf361dec640a957a20c1f.tar.gz urpmi-d0a292cf431434c705caf361dec640a957a20c1f.tar.bz2 urpmi-d0a292cf431434c705caf361dec640a957a20c1f.tar.xz urpmi-d0a292cf431434c705caf361dec640a957a20c1f.zip |
rename func to be local to module
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/parallel_ssh.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm index 92976203..4119dbd8 100644 --- a/urpm/parallel_ssh.pm +++ b/urpm/parallel_ssh.pm @@ -28,7 +28,7 @@ sub _scp { or $urpm->{fatal}(1, N("scp failed on host %s (%d)", $host, $? >> 8)); } -sub scp_rpms { +sub _scp_rpms { my ($parallel, $urpm, @files) = @_; foreach my $host (keys %{$parallel->{nodes}}) { @@ -55,7 +55,7 @@ sub _ssh_urpm { sub parallel_register_rpms { my ($parallel, $urpm, @files) = @_; - scp_rpms($parallel, $urpm, @files); + _scp_rpms($parallel, $urpm, @files); urpm::parallel::post_register_rpms($parallel, $urpm, @files); } @@ -203,7 +203,7 @@ sub parallel_resolve_dependencies { sub parallel_install { my ($parallel, $urpm, undef, $install, $upgrade, %options) = @_; - scp_rpms($parallel, $urpm, values %$install, values %$upgrade); + _scp_rpms($parallel, $urpm, values %$install, values %$upgrade); my %bad_nodes; foreach my $node (keys %{$parallel->{nodes}}) { |