aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-21 14:26:42 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-21 14:26:42 +0000
commit96f5322819c0ca5d5405a89315af19bca0649f61 (patch)
tree22d106a4fd60766906c80388716d4804cef2d0e7 /Rpmdrake/formatting.pm
parentaa40ddc296c709c7282b3be1c3ad0bb7d49105eb (diff)
downloadrpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar
rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar.gz
rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar.bz2
rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar.xz
rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.zip
(formatlistpkg) rename as format_list() (more consistent with other
function names)
Diffstat (limited to 'Rpmdrake/formatting.pm')
-rw-r--r--Rpmdrake/formatting.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 07ad40fc..b3e7eb5b 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -40,7 +40,7 @@ our @EXPORT = qw(
format_changelog_string
format_field
format_header
- formatlistpkg
+ format_list
format_name_n_summary
format_size
format_update_field
@@ -165,6 +165,6 @@ sub format_size {
N("%s of disk space will be freed.", formatXiB(-$size));
}
-sub formatlistpkg { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) }
+sub format_list { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) }
1;