From b490c4441ec9b1078b1851d490f3cf5b87f29ee3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Sep 2012 18:03:07 +0000 Subject: (resolve_requested_suggests) micro-optimization --- URPM/Resolve.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index b6ceac6..7b38e2e 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -895,7 +895,7 @@ sub resolve_requested_suggests { my %suggests = map { $_ => 1 } $pkg->suggests or next; #- do not install a package that has already been suggested - $db->traverse_tag('name', [ $pkg->name ], sub { + $db->traverse_tag_find('name', $pkg->name, sub { my ($p) = @_; delete $suggests{$_} foreach $p->suggests; }); -- cgit v1.2.1