aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-28 18:42:26 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-28 18:42:26 +0000
commitb0e0f03a5a259140d2a17ded5eb92f123bcb9d73 (patch)
treeb74f826a0873156ee22a4196c1512992f0fca814
parentee81cb574848dccc43cb09bcd0d34a15cac45461 (diff)
downloadrpmdrake-b0e0f03a5a259140d2a17ded5eb92f123bcb9d73.tar
rpmdrake-b0e0f03a5a259140d2a17ded5eb92f123bcb9d73.tar.gz
rpmdrake-b0e0f03a5a259140d2a17ded5eb92f123bcb9d73.tar.bz2
rpmdrake-b0e0f03a5a259140d2a17ded5eb92f123bcb9d73.tar.xz
rpmdrake-b0e0f03a5a259140d2a17ded5eb92f123bcb9d73.zip
(_build_tree) silent perl_checker & explain
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 51262b56..f1ac09f3 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -960,7 +960,8 @@ sub _build_tree {
# better loop on packages, create groups tree and push packages in the proper place:
foreach my $pkg (@elems) {
my $grp = $pkg->[1];
- add_parent($grp);
+ # no state for groups (they're not packages and thus have no state)
+ add_parent($grp, undef);
$elems->{$grp} ||= [];
push @{$elems->{$grp}}, $pkg;
}