aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index c1dc48c5..c8812b65 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -685,7 +685,7 @@ sub is_locale_available {
my ($name) = @_;
any { $urpm->{depslist}[$_]->flag_selected } keys %{$urpm->{provides}{$name} || {}} and return 1;
my $found;
- open_rpm_db()->traverse_tag('name', [ $name ], sub { $found ||= 1 });
+ open_rpm_db()->traverse_tag_find('name', $name, sub { $found = 1 });
return $found;
}