aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 22:54:17 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 22:54:17 +0000
commit3a4a4b516e7c583c819a707e2fb97404cdc7c2ed (patch)
treef81c70b38f6395ba9dc14524fa72c4cc9c9b11f8 /Rpmdrake
parent88c62ebff103a32022c3e72a131b98998d2f5703 (diff)
downloadrpmdrake-3a4a4b516e7c583c819a707e2fb97404cdc7c2ed.tar
rpmdrake-3a4a4b516e7c583c819a707e2fb97404cdc7c2ed.tar.gz
rpmdrake-3a4a4b516e7c583c819a707e2fb97404cdc7c2ed.tar.bz2
rpmdrake-3a4a4b516e7c583c819a707e2fb97404cdc7c2ed.tar.xz
rpmdrake-3a4a4b516e7c583c819a707e2fb97404cdc7c2ed.zip
(get_summary) silent perl_checker
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 43bb246c..41f14e85 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -105,6 +105,7 @@ sub get_summary {
my ($key) = @_;
$pkgs->{$key}{summary} ||= $pkgs->{$key}{pkg}->summary;
my $summary = translate($pkgs->{$key}{summary});
+ require utf8;
utf8::valid($summary) ? $summary : @{[]};
}