projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
848f6e5
)
Extend ignore filter for grablines (bug #144445)
author
Marius Mauch
<genone@gentoo.org>
Thu, 11 Jan 2007 08:47:50 +0000
(08:47 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Thu, 11 Jan 2007 08:47:50 +0000
(08:47 -0000)
svn path=/main/trunk/; revision=5548
pym/portage_util.py
patch
|
blob
|
history
diff --git
a/pym/portage_util.py
b/pym/portage_util.py
index b1199989c0cc1051f00e61f668c9a75943afdee6..c7455a309cc1522259d93fbe8abea930cb08ddec 100644
(file)
--- a/
pym/portage_util.py
+++ b/
pym/portage_util.py
@@
-228,10
+228,12
@@
def grabfile_package(myfilename, compatlevel=0, recursive=0):
def grablines(myfilename,recursive=0):
mylines=[]
if recursive and os.path.isdir(myfilename):
+ if myfilename in ["RCS", "CVS", "SCCS"]:
+ continue
dirlist = os.listdir(myfilename)
dirlist.sort()
for f in dirlist:
- if not f.startswith("."):
+ if not f.startswith(".")
and not f.endswith("~")
:
mylines.extend(grablines(
os.path.join(myfilename, f), recursive))
else: