aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-21 14:28:20 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-21 14:28:20 +0000
commitc8c192ec4cdfe5efacf225714fb2035fc1f954d8 (patch)
tree23019a67221eb578e565db2a16ef0586215d89f2 /Rpmdrake/formatting.pm
parent80b94ed2ea867f9a533002be1301caae7add89d7 (diff)
downloadrpmdrake-c8c192ec4cdfe5efacf225714fb2035fc1f954d8.tar
rpmdrake-c8c192ec4cdfe5efacf225714fb2035fc1f954d8.tar.gz
rpmdrake-c8c192ec4cdfe5efacf225714fb2035fc1f954d8.tar.bz2
rpmdrake-c8c192ec4cdfe5efacf225714fb2035fc1f954d8.tar.xz
rpmdrake-c8c192ec4cdfe5efacf225714fb2035fc1f954d8.zip
perl_checker cleanups
Diffstat (limited to 'Rpmdrake/formatting.pm')
-rw-r--r--Rpmdrake/formatting.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index b3e7eb5b..58a5500d 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -115,8 +115,8 @@ our $spacing = " ";
sub format_changelog_string {
my ($installed_version, $string) = @_;
#- preprocess changelog for faster TextView insert reaction
- my %date_attr = ( 'weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD );
- my %update_attr = ( 'style' => 'italic');
+ my %date_attr = ('weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD);
+ my %update_attr = ('style' => 'italic');
my $version;
my $highlight;
[ map {
@@ -127,7 +127,7 @@ sub format_changelog_string {
$highlight = $installed_version ne N("(none)") && 0 < URPM::rpmvercmp($version, $installed_version);
}
add2hash(\%attrs, \%update_attr) if $highlight;
- [ "$spacing$_\n", if_(%attrs, \%attrs) ]
+ [ "$spacing$_\n", if_(%attrs, \%attrs) ];
} split("\n", $string) ];
}