From c9ccd6ae176d97095e5c5ebf832cccc4d4ac2030 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 21 Feb 2008 14:21:27 +0000 Subject: (to_utf8) do not duplicate common::to_utf8(), especially now that no caller need list context support (needs drakxtools-backend-10.6.21+) --- rpmdrake.pm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index 04c3993c..19b6364a 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -55,7 +55,6 @@ our @EXPORT = qw( $typical_width add_distrib_update_media distro_type - to_utf8 myexit readconf writeconf @@ -135,13 +134,6 @@ $urpm::download::PROMPT_PROXY = new rpmdrake::prompt( [ 0, 1 ], ); -sub to_utf8 { - foreach (@_) { - $_ = common::to_utf8($_); - } - wantarray() ? @_ : $_[0]; -} - sub myexit { writeconf(); ugtk2::exit(undef, @_); -- cgit v1.2.1