summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2005-12-17 20:27:41 +0000
committerDaniel Burrows <dburrows@debian.org>2005-12-17 20:27:41 +0000
commitb89184e6eb198d501304af53f59cb813237d1f35 (patch)
tree1638018ece8b74f223d17e42712ecb2249e353c8 /src
parentba5132d22228744a1247ea492e6bea53ff0500eb (diff)
downloadaptitude-b89184e6eb198d501304af53f59cb813237d1f35.tar.gz
[aptitude @ Increment the progress indicator when building trees even for nonexistant packages.]
Diffstat (limited to 'src')
-rw-r--r--src/pkg_tree.cc4
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"));