aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-28 15:07:07 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-28 15:07:07 +0000
commitd2085470fcc72bc36e9cc7dc5575fe1b1d437f3a (patch)
tree9649b4ebc1a7c99d6c2b395067885f04ebf7168b /Rpmdrake
parentd753985ee7c5fdd6f6b7d3d272badd1684c39ad6 (diff)
downloadrpmdrake-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
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm7
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;