projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f308a59
)
ignore .files in /etc/portage recursion
author
Alec Warner
<antarus@gentoo.org>
Fri, 23 Jun 2006 00:40:38 +0000
(
00:40
-0000)
committer
Alec Warner
<antarus@gentoo.org>
Fri, 23 Jun 2006 00:40:38 +0000
(
00:40
-0000)
svn path=/main/trunk/; revision=3611
pym/portage_util.py
patch
|
blob
|
history
diff --git
a/pym/portage_util.py
b/pym/portage_util.py
index 6c39192c01c54ef6e16ceb31c9b55c81517aac6c..0a95453d70a566d3a158c597a9c0b515bd90cc6c 100644
(file)
--- a/
pym/portage_util.py
+++ b/
pym/portage_util.py
@@
-183,6
+183,7
@@
def grablines(myfilename,recursive=0):
mylines=[]
if recursive and os.path.isdir(myfilename):
myfiles = [myfilename+os.path.sep+x for x in os.listdir(myfilename)]
+ myfiles = [file for files in myfiles if not file.startswith(".")]
myfiles.sort()
for f in myfiles:
mylines.extend(grablines(f, recursive))