diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-28 15:07:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-28 15:07:07 +0000 |
commit | d2085470fcc72bc36e9cc7dc5575fe1b1d437f3a (patch) | |
tree | 9649b4ebc1a7c99d6c2b395067885f04ebf7168b | |
parent | d753985ee7c5fdd6f6b7d3d272badd1684c39ad6 (diff) | |
download | rpmdrake-d2085470fcc72bc36e9cc7dc5575fe1b1d437f3a.tar rpmdrake-d2085470fcc72bc36e9cc7dc5575fe1b1d437f3a.tar.gz rpmdrake-d2085470fcc72bc36e9cc7dc5575fe1b1d437f3a.tar.bz2 rpmdrake-d2085470fcc72bc36e9cc7dc5575fe1b1d437f3a.tar.xz rpmdrake-d2085470fcc72bc36e9cc7dc5575fe1b1d437f3a.zip |
(get_info) simplify according to format_pkg_simplifiedinfo() changes
-rw-r--r-- | Rpmdrake/gui.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index cdb0759b..33364d31 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -736,12 +736,7 @@ sub get_info { exists $pkgs->{$key} or return [ [ N("Description not available for this package\n") ] ]; exists $pkgs->{$key}{description} && exists $pkgs->{$key}{files} or slow_func($widget, sub { extract_header($pkgs->{$key}, $urpm) }); - my $s; - eval { $s = format_pkg_simplifiedinfo($pkgs, $key, $urpm, $descriptions) }; - if (my $err = $@) { - $s = N("A fatal error occurred: %s.", $err); - } - $s; + format_pkg_simplifiedinfo($pkgs, $key, $urpm, $descriptions); } 1; |