summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-30 14:02:20 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-30 14:02:20 +0000
commitad8e48c321d683614d8955def4b98dea3b228081 (patch)
tree667d4af3e016ee462d185062d1cb045fd03d4645 /urpm.pm
parent4c9a2615044e763a92419c0e58e17eb0926fb752 (diff)
downloadurpmi-ad8e48c321d683614d8955def4b98dea3b228081.tar
urpmi-ad8e48c321d683614d8955def4b98dea3b228081.tar.gz
urpmi-ad8e48c321d683614d8955def4b98dea3b228081.tar.bz2
urpmi-ad8e48c321d683614d8955def4b98dea3b228081.tar.xz
urpmi-ad8e48c321d683614d8955def4b98dea3b228081.zip
Suppress utf8 warnings unless we want them
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 3 insertions, 0 deletions
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');
}
}