diff options
| -rw-r--r-- | DistUpgrade/DistUpgradeCache.py | 1 | ||||
| -rw-r--r-- | UpdateManager/UpdateManager.py | 4 | ||||
| -rw-r--r-- | debian/changelog | 9 |
3 files changed, 14 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py index 3c0efffa..4b6fd680 100644 --- a/DistUpgrade/DistUpgradeCache.py +++ b/DistUpgrade/DistUpgradeCache.py @@ -1,6 +1,7 @@ import warnings warnings.filterwarnings("ignore", "apt API not stable yet", FutureWarning) +warnings.filterwarnings("ignore", "apt API not stable yet", FutureWarning) import apt import apt_pkg import os diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index 3fe9ad1e..0d70b56c 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -33,8 +33,11 @@ try: except: import fakegconf as gconf import gobject +from warnings import warn +warnings.filterwarnings("ignore", "apt API not stable yet", FutureWarning) import apt import apt_pkg + import gettext import copy import string @@ -130,6 +133,7 @@ class MyCache(apt.Cache): # get the source version, start with the binaries version binver = pkg.candidateVersion + srcver = pkg.candidateVersion #print "bin: %s" % binver try: # try to get the source version of the pkg, this differs diff --git a/debian/changelog b/debian/changelog index 0346d48e..7c759639 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +update-manager (0.44.13) edgy; urgency=low + + * UpdateManager/UpdateManager.py: + - make sure that src_ver is always initialized (thanks to + Simira for reporting) + - filter python-apt future warning (especially for seb128) + + -- + update-manager (0.44.12) edgy; urgency=low * DistUpgrade/DistUpgradeViewGtk.py: |
