On Sun, Apr 12, 2009 at 07:47:15PM +0200, Julian Andres Klode wrote: > > On Sun, Apr 12, 2009 at 05:13:43PM +0100, Enrico Zini wrote: > > > # python-apt should not raise an exception at this point > > > try: > > > dummy = ver.raw_description > > It has to raise an exception because you are trying to get a raw description > > from a non-existing version. > > Not true, I just overlooked that it already checked for ``pkg.candidate is > None``. > I have fixed the issue now and will upload the fixed version in a few minutes. > > The problem was that (in apt.Package.candidate) I did not check the return > value > of self._pcache._depcache.GetCandidateVer(self._pkg) and simply returned a > Version object. Sorry!
No problem, thanks for fixing it quickly. Today I'll upload the new version of apt-xapian-index that depends on the new python-apt, solving the problem. Ciao, Enrico -- GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enr...@debian.org>
signature.asc
Description: Digital signature