summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-25 19:26:54 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-25 19:26:54 +0000
commitc749106db3d5cb9c47527ccf980458a256a36e87 (patch)
tree11659553b85e3766971a7e6c964babe25dd55595
parent24ed493f08c3b4096e7c15b4710b6e7819a16a3c (diff)
downloadportage-c749106db3d5cb9c47527ccf980458a256a36e87.tar.gz
portage-c749106db3d5cb9c47527ccf980458a256a36e87.tar.bz2
portage-c749106db3d5cb9c47527ccf980458a256a36e87.zip
For bug #152726, ignore hidden files in vardbapi.cp_list().
svn path=/main/trunk/; revision=4817
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 87b8ac323..958363042 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4454,6 +4454,8 @@ class vardbapi(dbapi):
return []
returnme=[]
for x in list:
+ if x.startswith("."):
+ continue
if x[0] == '-':
#writemsg(red("INCOMPLETE MERGE:")+str(x[len("-MERGING-"):])+"\n")
continue