aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-20 19:52:49 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-20 19:52:49 +0000
commitdace720e633392f2ad04e0974c009fdeff7a7c0b (patch)
treed4cd066bad340d105c02ecccbf415e7112b0a70a /Rpmdrake
parent52e355ff37dbdbf401b761b710b8d8abb7a42168 (diff)
downloadrpmdrake-dace720e633392f2ad04e0974c009fdeff7a7c0b.tar
rpmdrake-dace720e633392f2ad04e0974c009fdeff7a7c0b.tar.gz
rpmdrake-dace720e633392f2ad04e0974c009fdeff7a7c0b.tar.bz2
rpmdrake-dace720e633392f2ad04e0974c009fdeff7a7c0b.tar.xz
rpmdrake-dace720e633392f2ad04e0974c009fdeff7a7c0b.zip
(get_summary) silent perl_checker
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index c8812b65..c2be82c4 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -106,7 +106,7 @@ sub get_summary {
my ($key) = @_;
$pkgs->{$key}{summary} ||= $pkgs->{$key}{pkg}->summary;
my $summary = translate($pkgs->{$key}{summary});
- utf8::valid($summary) ? $summary : ();
+ utf8::valid($summary) ? $summary : @{[]};
}
sub build_expander {