projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e073799
)
repoman: Fix bogus warnings "Invalid atom in [..]/package.keywords: D" when working...
author
Sebastian Pipping
<sping@gentoo.org>
Tue, 6 Jul 2010 22:17:05 +0000
(
00:17
+0200)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 7 Jul 2010 01:29:56 +0000
(18:29 -0700)
pym/portage/util/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/__init__.py
b/pym/portage/util/__init__.py
index ac191fb2a2d7c87ecabb6735454c08087b0ebc13..3c552025b558cbab1cc3bca8acffd5e0beef5b11 100644
(file)
--- a/
pym/portage/util/__init__.py
+++ b/
pym/portage/util/__init__.py
@@
-324,7
+324,7
@@
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"]:
+ if
os.path.basename(myfilename)
in ["RCS", "CVS", "SCCS"]:
return mylines
dirlist = os.listdir(myfilename)
dirlist.sort()