diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-18 12:27:49 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-18 12:27:49 +0000 |
commit | 60ace3190307c1dc2962700a5f5c3e603329fd71 (patch) | |
tree | 9a0e46d2ebbe06630d552c90b45fe96199e29e4f | |
parent | e441d38d3f8ab6ddb7d192edc9ac301eb5335f5e (diff) | |
download | rpmdrake-60ace3190307c1dc2962700a5f5c3e603329fd71.tar rpmdrake-60ace3190307c1dc2962700a5f5c3e603329fd71.tar.gz rpmdrake-60ace3190307c1dc2962700a5f5c3e603329fd71.tar.bz2 rpmdrake-60ace3190307c1dc2962700a5f5c3e603329fd71.tar.xz rpmdrake-60ace3190307c1dc2962700a5f5c3e603329fd71.zip |
Un-do change 1.304, which was causing popup crashes (I don't know why)
-rwxr-xr-x | rpmdrake | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -556,10 +556,9 @@ sub run_treeview_dialog { my $is_locale_available = sub { any { $urpm->{depslist}[$_]->flag_selected } keys %{$urpm->{provides}{$_[0]} || {}} and return 1; - db->traverse_tag('name', [ $_ ], sub { goto traversed }); - return 0; - traversed: - return 1; + my $found; + db->traverse_tag('name', [ $_ ], sub { $found ||= 1 }); + return $found; }; my $callback_choices = sub { my (undef, undef, undef, $choices) = @_; |