aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-05-05 20:02:56 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-05-05 20:02:56 +0000
commita46d86cfd75fbd6e3390ae1a68aa56d824b69934 (patch)
tree7f0c9daa5601499eb1fce3edbced5b8faf068b53 /Rpmdrake/gui.pm
parent570dbd523fe674c8b89b085053fb448189a0d28e (diff)
downloadrpmdrake-a46d86cfd75fbd6e3390ae1a68aa56d824b69934.tar
rpmdrake-a46d86cfd75fbd6e3390ae1a68aa56d824b69934.tar.gz
rpmdrake-a46d86cfd75fbd6e3390ae1a68aa56d824b69934.tar.bz2
rpmdrake-a46d86cfd75fbd6e3390ae1a68aa56d824b69934.tar.xz
rpmdrake-a46d86cfd75fbd6e3390ae1a68aa56d824b69934.zip
Fix list of matching packages when warning for packages not in list (MDV BZ #62308)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 65350537..d717461c 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,
);