diff options
author | João Victor Duarte Martins <jvdm@mandriva.com.br> | 2011-05-05 19:27:32 +0000 |
---|---|---|
committer | João Victor Duarte Martins <jvdm@mandriva.com.br> | 2011-05-05 19:27:32 +0000 |
commit | 610078dbfaaefdbbac3ebe0b649722f65eaaae1b (patch) | |
tree | e688c0242c02899780515d0b81e91361905c3ce9 | |
parent | 0dc5cac93d24de08174fe3cbf136ab52a259c8fb (diff) | |
download | rpmdrake-610078dbfaaefdbbac3ebe0b649722f65eaaae1b.tar rpmdrake-610078dbfaaefdbbac3ebe0b649722f65eaaae1b.tar.gz rpmdrake-610078dbfaaefdbbac3ebe0b649722f65eaaae1b.tar.bz2 rpmdrake-610078dbfaaefdbbac3ebe0b649722f65eaaae1b.tar.xz rpmdrake-610078dbfaaefdbbac3ebe0b649722f65eaaae1b.zip |
Fix list of matching packages when warning for packages not in list (#62308)
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- Fix list of matching packages when warning for packages not in list (bug + #62308) + Version 5.26.8 - 5 May 2011, by Per Øyvind Karlsen - follow URPM API change for using the correct tag names 'providename' & 'basenames' diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 91e5b769..c3b02948 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -375,7 +375,9 @@ sub node_state { #-PO: this is list fomatting: "- <package_name> (medium: <medium_name>)" #-PO: eg: "- rpmdrake (medium: "Main Release" N("- %s (medium: %s)", $_, pkg2medium($pkgs->{$_}{pkg}, $urpm)->{name}); - } grep { /^$short_name/ } keys %$pkgs), + } grep { + /^$short_name/ && $pkgs->{$_}{pkg} + } keys %$pkgs), ), scroll => 1, ); |