From 85f56a86185e54f35b5f8e13866ed7c6654f200a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 5 May 2008 19:29:54 +0000 Subject: Use vardbapi._excluded_dirs to filter results inside cp_list(). svn path=/main/trunk/; revision=10208 --- pym/portage/dbapi/vartree.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index b7ce8b29b..145016edc 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -433,10 +433,7 @@ class vardbapi(dbapi): returnme = [] for x in dir_list: - if x.startswith("."): - continue - if x[0] == '-': - #writemsg(red("INCOMPLETE MERGE:")+str(x[len("-MERGING-"):])+"\n") + if self._excluded_dirs.match(x) is not None: continue ps = pkgsplit(x) if not ps: -- cgit v1.2.3-1-g7c22