diff options
author | Daniel Burrows <dburrows@debian.org> | 2005-12-17 20:27:41 +0000 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2005-12-17 20:27:41 +0000 |
commit | b89184e6eb198d501304af53f59cb813237d1f35 (patch) | |
tree | 1638018ece8b74f223d17e42712ecb2249e353c8 /src/pkg_tree.cc | |
parent | ba5132d22228744a1247ea492e6bea53ff0500eb (diff) | |
download | aptitude-b89184e6eb198d501304af53f59cb813237d1f35.tar.gz |
[aptitude @ Increment the progress indicator when building trees even for nonexistant packages.]
Diffstat (limited to 'src/pkg_tree.cc')
-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")); |