aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-05 02:48:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-05 02:48:17 +0000
commita22a1087dd3b3855630a2b1d04adf4a9212e145a (patch)
tree838d2fa10be7bbe1b571755656f6541063a61167 /Rpmdrake
parent9baaee15f91261996e110b9e7010826f6b950e23 (diff)
downloadrpmdrake-a22a1087dd3b3855630a2b1d04adf4a9212e145a.tar
rpmdrake-a22a1087dd3b3855630a2b1d04adf4a9212e145a.tar.gz
rpmdrake-a22a1087dd3b3855630a2b1d04adf4a9212e145a.tar.bz2
rpmdrake-a22a1087dd3b3855630a2b1d04adf4a9212e145a.tar.xz
rpmdrake-a22a1087dd3b3855630a2b1d04adf4a9212e145a.zip
(node_state) do not warn about empty package names (#38480)
(inserted by build_tree() if no nodes)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
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) {