projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d24ca4
)
Ignore hidden files or directories in the vardbapi.cpv_all() listing.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Aug 2006 23:04:52 +0000
(23:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Aug 2006 23:04:52 +0000
(23:04 -0000)
svn path=/main/trunk/; revision=4153
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 03b761abfc22312d7e0fa924db05dd672a2730e8..9d5b25cf73b019ee97a25f9427dd69160c49e565 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-4141,6
+4141,8
@@
class vardbapi(dbapi):
for x in self.categories:
for y in listdir(basepath+x,EmptyOnError=1):
+ if y.startswith("."):
+ continue
subpath = x+"/"+y
# -MERGING- should never be a cpv, nor should files.
if os.path.isdir(basepath+subpath) and (pkgsplit(y) is not None):