diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:07:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:07:55 +0000 |
commit | 7f29f6bd3ca3071675e4f5ccb04dc88f6106f737 (patch) | |
tree | 5cef7fc158ef53c2110410490453cb336b39279f /Rpmdrake/gui.pm | |
parent | 6485d7bc70defbad7f42f0180f78b4ecfb89a83b (diff) | |
download | rpmdrake-7f29f6bd3ca3071675e4f5ccb04dc88f6106f737.tar rpmdrake-7f29f6bd3ca3071675e4f5ccb04dc88f6106f737.tar.gz rpmdrake-7f29f6bd3ca3071675e4f5ccb04dc88f6106f737.tar.bz2 rpmdrake-7f29f6bd3ca3071675e4f5ccb04dc88f6106f737.tar.xz rpmdrake-7f29f6bd3ca3071675e4f5ccb04dc88f6106f737.zip |
(get_url_link) micro optimization: use traverse_tag_find() instead of traverse_tag()
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index f1ac09f3..19c7e58a 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -255,7 +255,7 @@ sub get_url_link { my $url = $upkg->url || $pkg->{url}; if (!$url) { - open_rpm_db()->traverse_tag('name', [ $upkg->name ], sub { $url = $_[0]->url }); + open_rpm_db()->traverse_tag_find('name', $upkg->name, sub { $url = $_[0]->url }); } return if !$url; |