summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 12:38:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 12:38:52 +0000
commit7e95082d91e12214def0d3c1cf0d0933d25c2a7b (patch)
tree9515295b92dfc0b92ba0943bd2f79f99145bd50d
parente1760fe9e8eb3ac1ba8a89d205a75638a9093c3e (diff)
downloadurpmi-7e95082d91e12214def0d3c1cf0d0933d25c2a7b.tar
urpmi-7e95082d91e12214def0d3c1cf0d0933d25c2a7b.tar.gz
urpmi-7e95082d91e12214def0d3c1cf0d0933d25c2a7b.tar.bz2
urpmi-7e95082d91e12214def0d3c1cf0d0933d25c2a7b.tar.xz
urpmi-7e95082d91e12214def0d3c1cf0d0933d25c2a7b.zip
use function names more appropriate
-rw-r--r--urpm.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpm.pm b/urpm.pm
index 12471ca1..224404da 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1079,7 +1079,7 @@ sub _hdlist_suffix {
$medium->{with_hdlist} =~ /hdlist(.*?)(?:\.src)?\.cz$/ ? $1 : '';
}
-sub _update_media__when_not_modified {
+sub _parse_hdlist_or_synthesis__when_not_modified {
my ($urpm, $medium) = @_;
delete @$medium{qw(start end)};
@@ -1704,7 +1704,7 @@ sub _update_medium_first_pass {
#- we still need to read it and all synthesis will be written if
#- an unresolved provides is found.
#- to speed up the process, we only read the synthesis at the beginning.
- _update_media__when_not_modified($urpm, $medium);
+ _parse_hdlist_or_synthesis__when_not_modified($urpm, $medium);
return 1;
}
@@ -1836,7 +1836,7 @@ sub _update_medium_second_pass {
$callback && $callback->('done', $medium->{name});
}
-sub _update_medium_build_hdlist_synthesis {
+sub _build_hdlist_synthesis {
my ($urpm, $medium) = @_;
if ($medium->{headers} && !$medium->{modified}) {
@@ -1944,7 +1944,7 @@ sub update_media {
#- second pass consists in reading again synthesis or hdlists.
_update_medium_second_pass($urpm, $medium, $options{callback});
}
- _update_medium_build_hdlist_synthesis($urpm, $medium);
+ _build_hdlist_synthesis($urpm, $medium);
_get_pubkey_and_descriptions($urpm, $medium, $options{nopubkey});