aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/gui.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f72221cd..0b014cac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- do not warn about empty package names (#38480)
- rpmdrake:
o make search box larger (#38298)
o remember latest view mode (#38138)
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index b263103b..ad44d6bb 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -209,6 +209,7 @@ sub format_pkg_info {
sub node_state {
my ($name) = @_;
+ return if !$name;
my $pkg = $pkgs->{$name};
my $urpm_obj = $pkg->{pkg};
if (!$urpm_obj) {