From 1ebaf16d934c43070c71504261973b22fec7b23d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 23 May 2008 13:00:25 +0000 Subject: (get_pkgs) simplify: we already computed the name --- Rpmdrake/pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index e3f2dc92..32c158a9 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -512,7 +512,7 @@ sub get_pkgs { $selected = member($name, @requested_strict); push @updates, $name; } - $all_pkgs{urpm_name($pkg)} = { selected => $selected, pkg => $pkg, + $all_pkgs{$name} = { selected => $selected, pkg => $pkg, summary => $pkg->summary, }; } -- cgit v1.2.1