From ae9b9d7ef570cd75c9da0452693427fabf4fb2c1 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 12 Sep 2006 15:41:51 +0200 Subject: * UpdateManager/UpdateManager.py: - make sure to always have a srcver --- UpdateManager/UpdateManager.py | 5 ++++- debian/changelog | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3