For bug #152726, ignore hidden files in vardbapi.cp_list().
authorZac Medico <zmedico@gentoo.org>
Wed, 25 Oct 2006 19:26:54 +0000 (19:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 25 Oct 2006 19:26:54 +0000 (19:26 -0000)
svn path=/main/trunk/; revision=4817

pym/portage.py

index 87b8ac3232baba1f8b0914d9cf76d94196a97fe9..9583630421ed5d0af51b808015f91ea49a7c8ab2 100644 (file)
@@ -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