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

Bug#523997: python-apt: Package class should allow to set the candidate version



tag 523997 confirmed
owner 523997 !
thanks

On Tue, Apr 14, 2009 at 09:18:26AM +0200, Sebastian Heinlein wrote:
> Package: python-apt
> Version: 0.7.7.1+nmu1
> Severity: wishlist
> Tags: patch
> 
> The Package class should allow to set its the candidate version.
Maybe it would be better to not use a set candidate method, but set
fset on the candidate property.

Then you have:
	pkg.candidate = myversion

This integrates better in the overall concept and makes the API more
"natural". Is this OK for you?
-- 
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: