aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-07-05 16:24:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-07-05 16:24:41 +0000
commit3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7 (patch)
tree7567cec2615ccaaf1b25a1001cbe7606285ad977 /rpmdrake.pm
parent706ebba04a47c96d56f9c53cfacd88619a67e66b (diff)
downloadrpmdrake-3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7.tar
rpmdrake-3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7.tar.gz
rpmdrake-3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7.tar.bz2
rpmdrake-3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7.tar.xz
rpmdrake-3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7.zip
(add_medium_and_check) error messages are already in UTF-8 at this stage
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 320c0447..bdfcdd21 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -795,7 +795,7 @@ sub add_medium_and_check {
my $fatal_msg;
my @error_msgs;
local $urpm->{fatal} = sub { printf STDERR "Fatal: %s\n", $_[1]; $fatal_msg = to_utf8($_[1]); goto fatal_error };
- local $urpm->{error} = sub { printf STDERR "Error: %s\n", $_[0]; push @error_msgs, to_utf8($_[0]) };
+ local $urpm->{error} = sub { printf STDERR "Error: %s\n", $_[0]; push @error_msgs, $_[0] };
if ($options->{distrib}) {
@newnames = $urpm->add_distrib_media(@_);
} else {