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

Bug#532338: python-apt: Cache class should provide a broken attribute



On Mon, Jun 08, 2009 at 06:17:32PM +0200, Sebastian Heinlein wrote:
> Package: python-apt
> Version: 0.7.7.1+nmu1
> Severity: wishlist
> Tags: patch
> 
> The Cache class should provide an API to determinate the existance of
> broken dependencies. Currently you have to access the private _depcache.
I prefer to export the number of broken packages instead of a boolean
value. You can still use it as a boolean value, but it has the benefit
that you can also know how many are broken.

But we should probably export some more of those _count attributes, so
nobody says after the release of 0.8.0: Hey, I need the attribute
inst_count.
-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/



Reply to: