diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-05 19:30:23 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-05 19:30:23 +0000 |
commit | 652f991f7df7234d0ad518049de7b3ade5e520dd (patch) | |
tree | 3714474e7f3ff826a000ed753bc58468a381ad55 | |
parent | 5e837de9ce04f84598a664605e37f67b84969395 (diff) | |
download | portage-652f991f7df7234d0ad518049de7b3ade5e520dd.tar.gz portage-652f991f7df7234d0ad518049de7b3ade5e520dd.tar.bz2 portage-652f991f7df7234d0ad518049de7b3ade5e520dd.zip |
Use vardbapi._excluded_dirs to filter results inside cp_list(). (trunk r10208)
svn path=/main/branches/2.1.2/; revision=10209
-rw-r--r-- | pym/portage.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pym/portage.py b/pym/portage.py index 8ef79150d..ff6857842 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6699,12 +6699,9 @@ 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) + ps = pkgsplit(x) if not ps: self.invalidentry(self.root+VDB_PATH+"/"+mysplit[0]+"/"+x) continue |