From fceb850b55ddf4109905ec939f1e8d06ee651f92 Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Wed, 23 Jan 2008 23:12:52 +0000 Subject: r707@Devoty: necoro | 2008-01-24 00:00:22 +0100 small patch for get_actual_use_flag taking into account that a package might not be in system anymore r708@Devoty: necoro | 2008-01-24 00:11:23 +0100 EmergeQueue.is_empty() now honors all queues --- portato/backend/portage/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/backend') diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py index 845cc0b..42badbe 100644 --- a/portato/backend/portage/package.py +++ b/portato/backend/portage/package.py @@ -55,7 +55,7 @@ class PortagePackage (Package): self._status = None def _init_settings (self, installed): - inst = installed and self.is_installed() + inst = (installed and self.is_installed()) or (self.is_installed() and not self.is_in_system()) if self._settings_installed is not None and self._settings_installed != inst: self._settings.settings.reset() -- cgit v1.2.3-70-g09d2