commit:     68283db9d0a775c334087a27601edf042987294c
Author:     Marc Joliet <marcec <AT> gmx <DOT> de>
AuthorDate: Thu Oct 15 21:16:57 2015 +0000
Commit:     Paul Varner <fuzzyray <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 21:38:45 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=68283db9

eclean: fix eclean-pkg -n -d Bug #472020

Signed-off-by: Paul Varner <fuzzyray <AT> gentoo.org>

 pym/gentoolkit/eclean/search.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py
index 5fcb6bc..1a83fd4 100644
--- a/pym/gentoolkit/eclean/search.py
+++ b/pym/gentoolkit/eclean/search.py
@@ -574,7 +574,7 @@ def findPackages(
                        # exclusion because pkg still exists (in porttree or 
vartree)
                        del clean_me[cpv]
                        continue
-               if portage.cpv_getkey(cpv) in cp_all:
+               if portage.cpv_getkey(cpv) in cp_all and 
port_dbapi.cpv_exists(cpv):
                        # exlusion because of --package-names
                        del clean_me[cpv]
 

Reply via email to