public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r10209 - main/branches/2.1.2/pym
@ 2008-05-05 19:30 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-05-05 19:30 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-05-05 19:30:23 +0000 (Mon, 05 May 2008)
New Revision: 10209

Modified:
   main/branches/2.1.2/pym/portage.py
Log:
Use vardbapi._excluded_dirs to filter results inside cp_list(). (trunk r10208)


Modified: main/branches/2.1.2/pym/portage.py
===================================================================
--- main/branches/2.1.2/pym/portage.py	2008-05-05 19:29:54 UTC (rev 10208)
+++ main/branches/2.1.2/pym/portage.py	2008-05-05 19:30:23 UTC (rev 10209)
@@ -6699,12 +6699,9 @@
 
 		returnme = []
 		for x in dir_list:
-			if x.startswith("."):
+			if self._excluded_dirs.match(x) is not None:
 				continue
-			if x[0] == '-':
-				#writemsg(red("INCOMPLETE MERGE:")+str(x[len("-MERGING-"):])+"\n")
-				continue
-			ps=pkgsplit(x)
+			ps = pkgsplit(x)
 			if not ps:
 				self.invalidentry(self.root+VDB_PATH+"/"+mysplit[0]+"/"+x)
 				continue

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-05 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 19:30 [gentoo-commits] portage r10209 - main/branches/2.1.2/pym Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox