summaryrefslogtreecommitdiff
path: root/apt/progress.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-28 11:58:42 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-28 11:58:42 +0000
commit6192052ee2e16c88303772c466016af6aa781ed0 (patch)
tree1b916a2867489d2177ff30c525cef7bdc7d5b966 /apt/progress.py
parentef973e43572c5748f908ae0e353e71d61028b479 (diff)
downloadpython-apt-6192052ee2e16c88303772c466016af6aa781ed0.tar.gz
* strip status string before passing it, changelog updates
Diffstat (limited to 'apt/progress.py')
-rw-r--r--apt/progress.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/progress.py b/apt/progress.py
index 1b437a46..4119067c 100644
--- a/apt/progress.py
+++ b/apt/progress.py
@@ -180,7 +180,7 @@ class InstallProgress(DumbInstallProgress):
elif status == "pmstatus":
if float(percent) != self.percent or \
status_str != self.status:
- self.statusChange(pkg, float(percent), status_str)
+ self.statusChange(pkg, float(percent), status_str.strip())
self.percent = float(percent)
self.status = string.strip(status_str)
self.read = ""