From ad8e48c321d683614d8955def4b98dea3b228081 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 30 Aug 2005 14:02:20 +0000 Subject: Suppress utf8 warnings unless we want them --- urpm.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 95bc53d5..5cfd24b8 100644 --- a/urpm.pm +++ b/urpm.pm @@ -23,6 +23,9 @@ BEGIN { if ($ENV{DEBUG_URPMI}) { require encoding::warnings; encoding::warnings->import; + } else { + require warnings; + warnings->unimport('utf8'); } } -- cgit v1.2.1