summaryrefslogtreecommitdiff
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
parentef973e43572c5748f908ae0e353e71d61028b479 (diff)
downloadpython-apt-6192052ee2e16c88303772c466016af6aa781ed0.tar.gz
* strip status string before passing it, changelog updates
-rw-r--r--apt/progress.py2
-rw-r--r--debian/changelog8
2 files changed, 9 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 = ""
diff --git a/debian/changelog b/debian/changelog
index aef1f70c..94283b9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-apt (0.6.16.2ubuntu2) dapper; urgency=low
+
+ * apt/progress.py:
+ - initialize FetchProgress.eta with the correct type
+ - strip the staus str before passing it to InstallProgress.statusChanged()
+
+ --
+
python-apt (0.6.16.2ubuntu1) dapper; urgency=low
* apt/progress.py: