diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg_tree.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg_tree.cc b/src/pkg_tree.cc index 5ff7ea56..ca73045e 100644 --- a/src/pkg_tree.cc +++ b/src/pkg_tree.cc @@ -178,6 +178,8 @@ bool pkg_tree::build_tree(OpProgress &progress) progress.OverallProgress(num, total, 1, _("Building view")); + ++num; + // Filter useless packages up-front. if(i.VersionList().end() && i.ProvidesList().end()) continue; @@ -187,8 +189,6 @@ bool pkg_tree::build_tree(OpProgress &progress) empty=false; grouper->add_package(i, mytree); } - - ++num; } progress.OverallProgress(total, total, 1, _("Building view")); |