diff options
| -rw-r--r-- | apt/package.py | 4 | ||||
| -rw-r--r-- | debian/changelog | 14 |
2 files changed, 13 insertions, 5 deletions
diff --git a/apt/package.py b/apt/package.py index 6a85d2b5..8d3be1b0 100644 --- a/apt/package.py +++ b/apt/package.py @@ -551,7 +551,7 @@ class VersionList(Sequence): except TypeError: # Dictionary interface item is a string. for ver in self._versions: - if ver.ver_str == item: + if ver.VerStr == item: return Version(self._package, ver) raise KeyError("Version: %r not found." % (item)) @@ -567,7 +567,7 @@ class VersionList(Sequence): item = item.version # Dictionary interface. for ver in self._versions: - if ver.ver_str == item: + if ver.VerStr == item: return True return False diff --git a/debian/changelog b/debian/changelog index 7df51cf6..2c280221 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,18 +1,26 @@ -python-apt (0.7.13.4) UNRELEASED; urgency=low +python-apt (0.7.13.5) UNRELEASED; urgency=low [ Colin Watson ] * apt/progress/__init__.py: - Fix InstallProgress.updateInterface() to cope with read() returning 0 on non-blocking file descriptors (LP: #491027). + -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 02 Dec 2009 16:50:55 +0100 + +python-apt (0.7.13.4) unstable; urgency=low + [ Michael Vogt ] * po/zh_CN.po: - - updated, thanks to Feng Chao + - updated, thanks to Feng Chao * python/progress.cc: - if the mediaChange() does not return anything or is not implemented send "false" to libapt - -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 23 Sep 2009 15:32:13 +0200 + [ Julian Andres Klode ] + * apt/package.py: Fix dictionary access of VersionList, patch + by Sebastian Heinlein (Closes: #554895). + + -- Julian Andres Klode <jak@debian.org> Sun, 29 Nov 2009 20:26:31 +0100 python-apt (0.7.13.3) unstable; urgency=low |
