On Sat, Oct 10, 2009 at 07:43:39PM +0200, Max Kellermann wrote: > On 2009/10/10 19:36, Julian Andres Klode <[email protected]> wrote: > > The following patch should fix your problem, please report > > back whether it does: > > No change. That code isn't reached, because "name not in > self.apt_cache" is true. I added the following two lines to the > source: > > print 'dash' in self.apt_cache > print self.apt_cache['dash'] > > output: > > woodpecker:~# computer-janitor > False > <apt.package.Package object at 0x23cead0> > > Something's wrong here, isn't it? Yes. Are you using the latest version (0.7.13.3) of python-apt?
-- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

