Bug#712749: Property to test for non-purged

2013-06-19 Thread martin f krafft
also sprach Julian Andres Klode [2013.06.19.1633 +0200]: > self. _pkg.current_state == apt_pkg.CURSTATE_CONFIG_FILES Good to know. Since self._pkg is not part of the public interface (at least not if you adhere to the underscore prefix convention), would you consider adding is_not_purged

Bug#712749: Property to test for non-purged

2013-06-19 Thread Julian Andres Klode
On Wed, Jun 19, 2013 at 09:27:42AM +0200, martin f krafft wrote: > Package: python-apt > Version: 0.8.9.1 > Severity: wishlist > Tags: patch > > A removed-but-not-purged package will have is_installed() evaluate > to False. There seems to be no obvious way to test whether a package > has just been

Bug#712749: Property to test for non-purged

2013-06-19 Thread martin f krafft
Package: python-apt Version: 0.8.9.1 Severity: wishlist Tags: patch A removed-but-not-purged package will have is_installed() evaluate to False. There seems to be no obvious way to test whether a package has just been removed, or also purged. Here's one, because a removed-but-not-purged has at le