[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#571443: Support using "in" operator to test whether a package is in the cache



On Thu, Feb 25, 2010 at 05:11:06PM +0100, Julian Andres Klode wrote:
> Am Donnerstag, den 25.02.2010, 06:53 -0800 schrieb Matt Kraai:
> Use::
> 
>     'foo' in cache.packages
> 
> I could also try to implement most of the mapping stuff in
> apt_pkg.Cache, so one can just treat the cache as a mapping.

Awesome!  Thanks!

-- 
Matt                                              http://ftbfs.org/kraai



Reply to: