diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 15:30:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-10 15:30:48 +0000 |
commit | cbdcd5c909f739a90c23a09d8ce05eae250be834 (patch) | |
tree | 87b1018144d750dbfd8c065857be337e73f3a532 /Rpmdrake/gui.pm | |
parent | db5e5291ebcf6123df43054d597dda888e5956bc (diff) | |
download | rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar.gz rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar.bz2 rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.tar.xz rpmdrake-cbdcd5c909f739a90c23a09d8ce05eae250be834.zip |
(pkgs_provider) fix listing twice updates from media tagged as update
(regression introduced in 4.4.2, in r238732 on 2008-03-06:
"(pkgs_provider) simplify ; make it clearer")
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 08860c3d..f445e687 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -497,8 +497,7 @@ sub pkgs_provider { @filtered_pkgs = @{$h->{updates}}; # potential "updates" from media not tagged as updates: if (!$options{pure_updates}) { - push @filtered_pkgs, @{$h->{updates}}, - grep { is_updatable($_) } @{$h->{installable}}; + push @filtered_pkgs, grep { is_updatable($_) } @{$h->{installable}}; } }, backports => sub { @filtered_pkgs = @{$h->{backports}} }, |