From: Zac Medico Date: Wed, 25 Oct 2006 19:26:54 +0000 (-0000) Subject: For bug #152726, ignore hidden files in vardbapi.cp_list(). X-Git-Tag: v2.1.2~552 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c749106db3d5cb9c47527ccf980458a256a36e87;p=portage.git For bug #152726, ignore hidden files in vardbapi.cp_list(). svn path=/main/trunk/; revision=4817 --- 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