aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
);