summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-12 15:41:51 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-12 15:41:51 +0200
commitae9b9d7ef570cd75c9da0452693427fabf4fb2c1 (patch)
tree1a8f2d3f706d9abfcb807c1f3904c3854ae87fe3
parent6d61faf23c3ca83eba9e2bec999cf9d41ab95f3f (diff)
downloadpython-apt-ae9b9d7ef570cd75c9da0452693427fabf4fb2c1.tar.gz
* UpdateManager/UpdateManager.py:
- make sure to always have a srcver
-rw-r--r--UpdateManager/UpdateManager.py5
-rw-r--r--debian/changelog8
2 files changed, 12 insertions, 1 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index b9ce315c..f1cb35a5 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -120,7 +120,7 @@ class MyCache(apt.Cache):
# don't touch the gui in this function, it needs to be thread-safe
pkg = self[name]
- # get the src package name
+ # get the src package name
srcpkg = pkg.sourcePackageName
# assume "main" section
@@ -146,6 +146,9 @@ class MyCache(apt.Cache):
#print "srcver: %s" % srcver
section = srcrecords.Section
#print "srcsect: %s" % section
+ else:
+ # fail into the error handler
+ raise SystemError
except SystemError, e:
srcver = binver
diff --git a/debian/changelog b/debian/changelog
index 413dcfce..e6628ed7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+update-manager (0.44.11) edgy; urgency=low
+
+ * UpdateManager/UpdateManager.py:
+ - fix error in get_changelog (lp: #59940).
+ Thanks to Denis Washington
+
+ --
+
update-manager (0.44.10) edgy; urgency=low
* aptsources.py: