summaryrefslogtreecommitdiff
path: root/apt-pkg/iprogress.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-18 08:02:29 +0200
committerMichael Vogt <mvo@debian.org>2013-10-18 08:02:29 +0200
commitdd640f3cece45693b57b49d90ba7cc4134577070 (patch)
tree7ab79f664ddfae25b63e744ca441603e7183ba43 /apt-pkg/iprogress.cc
parent7c016f6e107ba55d7b55870166273ce63c4ecb65 (diff)
cleanup
Diffstat (limited to 'apt-pkg/iprogress.cc')
-rw-r--r--apt-pkg/iprogress.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/iprogress.cc b/apt-pkg/iprogress.cc
index bed991d68..318d626d4 100644
--- a/apt-pkg/iprogress.cc
+++ b/apt-pkg/iprogress.cc
@@ -101,7 +101,7 @@ bool PackageManagerProgressFd::StatusChanged(std::string PackageName,
// build the status str
std::ostringstream status;
- status << "pmstatus:" << PackageName
+ status << "pmstatus:" << StringSplit(PackageName, ":")[0]
<< ":" << (StepsDone/float(StepsTotal)*100.0)
<< ":" << pkg_action
<< std::endl;